summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-3/+0
* Add FindNickOnly, that wont fall through to uid checks if isdigit(*first). We...•••Fix cmd_nick to not treat all nicks as invalid and make the client give up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+3
* Whoops, i had a ! and i didnt need one•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7882 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+1
* Fixed sigabrt•••NOTE to w00t: When a user gets allocated a uid that is duplicate, the constructor throws. This was happening because i didnt pay attention to what i wrote and it always added uid "" :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7881 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+4
* Add uuid hash_map - its management is automatic via userrec constructors/dest...•••Note that this means 'fake' users used to set modes etc get a uid, but this isnt a major thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7876 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+8
* A few tidyups, and comment how the new constructors work (so that w00t doesnt...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+6
* More uuid fixes, and whack some warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-5/+4
* Allocate uid in userrec constructor. Optional param added, if its empty, the ...•••(this is used for remote users) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-24/+7
* Add a call to the NICK handler that allows toggling of allowing invalid nicks...•••Use it in ForceNickChange to allow forced nickchange of a nick to a uid. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+9
* UUID is now generated and set on client add, and shown after 005 via numeric ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7848 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-2/+8
* And zero UUID in constructor.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-261-2/+1