summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Undo my constructor playing, I'm pretty sure it will break stuff. This will r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-131-14/+0
* 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-161/+14
* 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-46/+5
* 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-2/+2
* 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-34/+52
* BanCache: Add a negative hit for an IP address upon FullConnect.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8540 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-0/+3
* Integrate K/Gline into the bancache system by making some modifications to De...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8538 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-4/+2
* Honking huge commit. Removal of DELETE() template that never worked right anyway•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-1/+1
* Avoid code duplication, just call XLine::Apply() rather than retyping all tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-15/+3
* BanCache positive hits should be overridden by E:, thanks Brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8493 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-1/+1
* Hook BanCache up to work on Z:Lines. BanCache is checked first, for positive ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8492 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-8/+35
* Tidy up, and make the identifer for a line type be std::string not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-5/+5
* xline gutting, once more. There is no longer an active_lines vector, and no r...•••saving on cpu time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-5/+5
* Fix this to pass a User•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-1/+2
* If the connect:limit is 0, dont deny connections for going over it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8360 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-1/+1
* this should fix any of the crashes w00t outlined where User::MyClass == NULL.•••The simplest fix seems to be that if the user has no class, skip all the code that uses the class values. This makes sense because the only situation where User::MyClass == NULL is when they arent authorised to connect and are being quit so checking flood levels and max sendq etc are irrelevent. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-4/+4
* 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-0/+7
* 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-3/+6
* Try this w00t, compiles, test running now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8343 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-241-7/+11
* Start of refcount-based rehash stuff for <connect> tags, this is broken and r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8342 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-2/+2
* Move some stuff from using userrec cached stuff to using stuff in the connect...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8339 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-231-10/+5
* Fix a bug before I even started this.. don't let User::SetClass() decrease th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8338 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-231-11/+22
* Some more class stuff, blah. Now possible to move a user to a different class...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8337 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-231-25/+30
* Some initial work towards tying <connect> classes to user accounts. This will...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8336 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-231-0/+32
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Tidy up some DNS stuff more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8280 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-0/+9
* Add User::IncreasePenalty() and User::DecreasePenalty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8264 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-211-0/+10
* Fixed ssl clients on trunk. The problem peavey was having was that before Rea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-2/+2
* *untested* command buffering/penalty•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+2
* Dont forget to initialize the new value•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Add User::UnderPenalty••• /** If this bool is set for a user, then the user is under penalty, in short they * are waiting for some held commands to be executed. If this is the case, then * any commands they have in their sendq are executed on a timer tick rather than in * their event handler. */ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8244 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Change a !string.length to string.empty. these are more readable and on some ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8243 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Socket engine tweaks to fix a glitch, and improvements to new m_ident•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-181-0/+4
* Remove second overridden (fully duplicated :/) copy of GetIPString which copi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8218 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-161-42/+4
* Typo fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-161-1/+1
* Update a comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8216 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-161-2/+2
* Move oper classes and types stuff from users to configreader. It may need to ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8215 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-75/+29
* Split user resolver into its own file.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8209 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-103/+0
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-123/+123
* class command_t -> class Command. Whey :D•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-2/+2
* Put this back how it was, it didnt help with the fix last night which turned ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8190 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-12/+8
* Tweaks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-9/+12
* Move some stuff around, this will move a crash to a different place and maybe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8171 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-131-0/+1
* Whoops, forgot some stuff for when GECOS was moved to position 10 in the UID ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8102 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-301-3/+8
* Fixed bug #404; this was caused by recieving multiple OPERTYPEs from a remote...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8084 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-261-10/+3
* More compile fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8057 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-231-1/+1
* Add a pointless WriteOpers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-291-0/+1
* Slight change to traffic logging, as I never remember which way the damn arro...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Catch exceptions here for duplicate uuid (it shouldnt happen, which is why th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7914 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+11