summaryrefslogtreecommitdiff
path: root/include/users.h
Commit message (Expand)AuthorAgeFilesLines
* 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-2/+2
* Clear out the string used for the temporarily stored hostname during DNS reso...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10496 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-101-1/+1
* Fixed comments for cached host fields in User; 3/4 of these were completely i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-101-3/+3
* Merge class connection in with class user (nothing else inherits it anyway, a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-2/+50
* 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-4/+0
* 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-1/+1
* 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-13/+0
* After discussions and thought, move umode +n to +s. This increases cross-ircd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-5/+3
* 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/+1
* 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-6/+6
* 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-24/+5
* Use a switch (cleaner, probably more efficient) for user status here, also, w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10041 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-7/+1
* Remove totally unused member, saving sizeof(unsigned int) per user record•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10040 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-191-4/+0
* Fix for #564•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-2/+3
* 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-0/+9
* 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-26/+13
* 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-13/+26
* A few minor fixes, some copy constructor stuff, misnamed channelmanager const...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-201-2/+2
* More correctly state the lookup arrays as unsigned char, not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9771 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-2/+2
* 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-25/+25
* 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-1/+1
* Fixes for bug #515, update existing in-use connect tags on the fly in rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-121-0/+6
* Trunk fix for bug #505 reported by nenolod•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9468 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-121-0/+4
* Patch from Brain fixing broken stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-111-4/+0
* Much faster way of checking if the user is 4in6, avoid strncmp in User::GetIP...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9455 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-111-1/+5
* Move QuitUser into UserManager class, and unstaticize it. This prepares for s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-091-8/+0
* AWAY notification for WATCH. Numerics are now sent out when a user goes away ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-03-301-0/+5
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-301-9/+9
* Add stuff so that modules can hook users by altering a pointer in the User cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-0/+4
* This should save 128 bytes per user for non-opers. Well worth it imho for a r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-231-2/+2
* Add ability to control what opertypes can set what operonly user/chan modes. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-231-0/+17
* Add WriteNumeric() to User and OnNumeric module event. Note that modules do n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-0/+4
* Commit patch from danieldg that makes a ton of stuff const-safe for latest wa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-131-1/+1
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-2/+2
* Support for /invite <user> <channel> <timeout> - if the user doesn't partake ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-081-3/+4
* Clear up header insanity•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-031-47/+42
* Cache User::GetIPString()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-0/+4
* Change API OnOperCompare to OnPassCompare, password hashing is now available ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-01-271-6/+18
* Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-2/+1
* Two stage commit: don't set user->muted except in QuitUser (duplicate setting...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-4/+4
* Re-add support for silent quits (note: we also remove an O(n) doing it this way)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8715 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-0/+4
* Hacked-up culllist: stores user pointers rather than CullItem, as creating th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8714 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-4/+8
* Move User::AddClient to UserManager::AddClient. WARNING: I assure you this is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8706 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-12/+0
* First UserManager overhaul: Move clone counts out of InspIRCd & User.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8705 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-16/+0
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Add param 'opername' to event OnPostOper. This will help make a (slightly nic...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8615 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-021-1/+1
* Implement roadmap item: "userrec::HasPermission -> map of maps, for (even fas...•••This is not a map of maps, but a single level map per oper, in non-opers this member is NULL. Please note that this is not yet tested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8564 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-0/+2
* Update User::exempt all the time we change an E:Line. Brain, can you check I'...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8416 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-5/+1
* Implement <connect:limit> - limits how many clients can sit inside a <connect...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8357 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-6/+12
* Disable all connect classes, reenable them as we find them in the config. Thi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8355 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-5/+19