summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-141-15/+6
* Changed Allowed Modes to bitsets.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-09-131-37/+8
* Merge the second interface for socket hooking into one, so it's all done by A...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-3/+2
* Move all the parameters around AGAIN. See docs shortly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-311-3/+15
* Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded po...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-311-1/+1
* Fix recursion crash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10330 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-3/+7
* Don't force-finish a burst on a timer, instead, set bursted if a PONG is reci...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-1/+1
* Fix..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-2/+2
* Clean up opering a tiny bit.. pave the way for SVSOPER•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-66/+61
* Bounds checking on IsModeSet, etc, to stop silly problems•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10282 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-2/+8
* match() is no longer a function+no header, now a static method of InspIRCd cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-211-2/+2
* I am a retard, mixx941 is my god•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10124 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-071-1/+2
* Don't add duplicate invites•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10122 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-071-0/+1
* fix compile errors under debug profile in windows.•••fix some warnings too. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-061-1/+1
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Remove duplicated member, kept in classes.. Possible now we have a pointer. t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-211-7/+0
* Change modes in channels and users to use std::bitset instead of an array. Th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-2/+0
* Fix compile. Also remove write error stuff, as that was used prior to the goo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-85/+45
* Remove unneccessary temp value which caused a win32 problem by using uint32_t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10021 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2008-07-141-4/+3
* More broken compile stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-141-2/+2
* Convert, convert, convert•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10009 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-131-9/+9
* Convert a bunch of crap•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10008 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-131-6/+6
* Change sprintf to snprintf, just in case; Update comments.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2008-07-121-3/+6
* Increase static buffer size to 44 to account for a full IPv6 CIDR mask: 1111:...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9984 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2008-07-121-3/+3
* Cleanup of some of the new CIDR code: compiles but untested; Also: My first c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9979 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2008-07-121-59/+57
* Fix for #564•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-3/+6
* Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. Also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-5/+108
* Back out the incomplete linebuffering stuff that shouldn't have been committed..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-021-139/+67
* Forward port r9946: make SVSHOLD silent to avoid useless irritation to opers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9947 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-021-67/+139
* Fix compile error•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9841 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-061-2/+4
* Remove limits on assigning of oper types. Theres no practical reason to restr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9831 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-011-1/+1
* Add ProtocolInterface::Introduce() to prevent confusion over event ordering, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-011-0/+2
* First phase of conversion to dynamic limits on all the lengths, configured vi...•••(the tag isnt there yet, these all just run on defaults in the class constructor) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-3/+3
* Fix uuid generation to not generate ten character uuids, thanks nenolod•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-231-2/+2
* Why are we using .compare() when we can use == ?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9791 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-231-1/+1
* Convert channel::name to std::string, this was a beastie!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-4/+4
* Convert connection::host•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-6/+5
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-76/+69
* This conflicted a few hours ago apparantly (????)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9747 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-2/+0
* check for GetDisabled should be before the match() commands, because its not ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9741 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-181-8/+8
* Show count of total num of classes, for Jason•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9740 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-0/+2
* I dont know who said we keep going when we get a match, because thats just si...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9738 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-181-1/+2
* More debug for Jason•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9736 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-2/+11
* Remove some unneccessary .c_str() calls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9734 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-181-1/+1
* Debug logging for connect class match failure•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9733 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-1/+11
* Fix bug found in <connect> code, <connect:limit> was checked after finding a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9732 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-181-23/+36
* nuke some debug (snatch)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9685 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-05-091-6/+0
* Masterful rewrite of User::AddBuffer to remove a string copy (and make more e...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-071-21/+53
* Conversion of command handler params from "const char* const* parameters, int...•••IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess of .c_str() calls to using std::string params directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-5/+10
* Remove debug (This also fixes a bug that peavey and i found regarding the alr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9576 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-14/+1