summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Craquity craq De-craq!•••This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-7/+4
* Add <connect:maxchans> as per feature bug #338 - combined with the last featu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7761 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-0/+5
* Allow changing of an oper's host on oper up using <type:class> (give it a con...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-11/+22
* Allow support for multiple dns results per request. This is a significant cha...•••This will allow for a fix to feature request bug #384 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7753 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-1/+5
* Reset connect class settings on DNS resolution as we should.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7680 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-061-8/+12
* Tidyups, remove of ifdefs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7597 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-3/+0
* Found the bug, turns out i just introduced it with the last commit :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7591 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-1/+4
* Some smart tricks to eliminate win32 ifdefs that are creeping into portable f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7589 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-5/+1
* Modify RULES to use numerics instead of notices. I'm pretty sure these are wi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7537 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-4/+5