summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* /me thwaps special for not reading comments :pGravatar brain2006-10-061-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5445 e03df62e-2008-0410-955e-edbf42e46eb7
* WriteOpers when reaching the softlimitGravatar brain2006-10-061-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5442 e03df62e-2008-0410-955e-edbf42e46eb7
* More.Gravatar brain2006-10-061-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5440 e03df62e-2008-0410-955e-edbf42e46eb7
* More debugGravatar brain2006-10-061-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5439 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra debuggingGravatar brain2006-10-061-2/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5438 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix my typoes :DGravatar brain2006-10-051-6/+6
| | | | | | | wooohooo, 30 mins till time to go home :D git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5420 e03df62e-2008-0410-955e-edbf42e46eb7
* Move opertypes/operclasses maps into ServerConfig, for some reason these ↵Gravatar brain2006-10-051-10/+4
| | | | | | were global to users.cpp and not accessible to any other file. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5419 e03df62e-2008-0410-955e-edbf42e46eb7
* Whowas is now fixed.Gravatar brain2006-10-041-6/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5414 e03df62e-2008-0410-955e-edbf42e46eb7
* Better fix to crash jamie experienced. epoll was the only socket engine ↵Gravatar w00t2006-10-021-13/+9
| | | | | | affected by this, and only under weird circumstances like a zlined user. Previous commit will work fine, this is nicer, and more complete. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5385 e03df62e-2008-0410-955e-edbf42e46eb7
* Brain, please review this commit ASAP. jamie, hopefully this fixes the crashGravatar w00t2006-10-021-9/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5384 e03df62e-2008-0410-955e-edbf42e46eb7
* userrec::CountGlobalClones malfunctioning, spotted by jamie, fixes bug#157 ↵Gravatar brain2006-10-011-6/+4
| | | | | | effecting only beta2 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5369 e03df62e-2008-0410-955e-edbf42e46eb7
* Last tidyup of the dayGravatar brain2006-09-271-50/+33
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5352 e03df62e-2008-0410-955e-edbf42e46eb7
* TidyupsGravatar brain2006-09-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5351 e03df62e-2008-0410-955e-edbf42e46eb7
* Speed improvements to userrec::GlobalCloneCount()Gravatar special2006-09-251-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5320 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the check against z/k/q/e/g methods return a pointer to the whole ↵Gravatar brain2006-09-191-9/+9
| | | | | | object rather than just the reason string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5305 e03df62e-2008-0410-955e-edbf42e46eb7
* * Fix ChanModes::ModeString to not try and set a key as a user mode ;)Gravatar brain2006-09-101-6/+6
| | | | | | | * Tweak the way cyclehosts works, so that mode change is not echoed back to user who changes their host/ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5208 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix the new g/k/e line stuff to match ips. NOTE: this makes g/k/e much ↵Gravatar brain2006-09-101-2/+0
| | | | | | slower than z. By factors of about 3. If you want to match tons of users, as always use zline (for this and many other reasons) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5202 e03df62e-2008-0410-955e-edbf42e46eb7
* Match IP's with klines, glines and exceptions, as well as hostsGravatar brain2006-09-101-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5201 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont generate host change, ident change or fullname change events if the ↵Gravatar brain2006-09-091-0/+9
| | | | | | host hasnt changed (case sensitive comparisons) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5187 e03df62e-2008-0410-955e-edbf42e46eb7
* Stop valgrind whining about uninitialized array, all we do is pass it as a ↵Gravatar brain2006-09-081-2/+2
| | | | | | buffer, but it whines anyway so we do = {0} on it :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5174 e03df62e-2008-0410-955e-edbf42e46eb7
* userrec::ForceNickChange was broken (not the entire nickchange system as i'd ↵Gravatar brain2006-09-071-12/+5
| | | | | | suspected at first) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5156 e03df62e-2008-0410-955e-edbf42e46eb7
* Exception handling in most of userrec... not too fine grained yet howeverGravatar brain2006-09-011-169/+299
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5098 e03df62e-2008-0410-955e-edbf42e46eb7
* Made CountChannels faster. We use it in quite a few places. It's now O(1) ↵Gravatar brain2006-08-311-3/+9
| | | | | | rather than O(n) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5094 e03df62e-2008-0410-955e-edbf42e46eb7
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsGravatar brain2006-08-301-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
* Annnd, get the fix right.Gravatar brain2006-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5079 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for correct display when removing snomaskGravatar brain2006-08-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5078 e03df62e-2008-0410-955e-edbf42e46eb7
* Put servername in remote quitsGravatar brain2006-08-291-7/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5077 e03df62e-2008-0410-955e-edbf42e46eb7
* +Q and +C (remote quit and connect) snomasks implementedGravatar brain2006-08-291-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5066 e03df62e-2008-0410-955e-edbf42e46eb7
* Implement messages for snomasks +cq (local connect, local quit)Gravatar brain2006-08-291-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5065 e03df62e-2008-0410-955e-edbf42e46eb7
* auto-set +s when +n is set (as +n requires +s) - allow +n to be 'set twice' ↵Gravatar brain2006-08-291-1/+6
| | | | | | | | | allowing for snomask change without removal of +ns Add default snomask chars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5063 e03df62e-2008-0410-955e-edbf42e46eb7
* Snomask support cometh! and it leave a sticky white mess all over the floor :(Gravatar brain2006-08-291-8/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5062 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix changing of idents and hosts (it wasnt working -- in fact WriteCommon ↵Gravatar brain2006-08-251-7/+9
| | | | | | was sort of BROKEN AS HELL) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5023 e03df62e-2008-0410-955e-edbf42e46eb7
* Add userrec::ChangeIdent (which we were missing) which can emulate the ↵Gravatar brain2006-08-251-0/+23
| | | | | | quit/rejoin same as ChangeDisplayedHost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5022 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <options:cyclehosts> which allows a user to appear to have quit when ↵Gravatar brain2006-08-251-0/+16
| | | | | | | | | their host changes, so that clients/bots can stay synched properly. It is recommended this option always be on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5017 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved an ipv6-only variable in userrec::GetIPString into the ↵Gravatar special2006-08-241-3/+4
| | | | | | SUPPORT_IP6LINKS define to get rid of a warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5012 e03df62e-2008-0410-955e-edbf42e46eb7
* Renamed the OnGlobalConnect callback to OnPostConnect, which is much more ↵Gravatar special2006-08-241-1/+1
| | | | | | appropriate git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5010 e03df62e-2008-0410-955e-edbf42e46eb7
* More prefixchar stuff.Gravatar brain2006-08-231-1/+1
| | | | | | | WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
* Spotted problem: must clear out all prefixes attached to a user when they ↵Gravatar brain2006-08-231-0/+1
| | | | | | | | | quit or leave a channel Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4998 e03df62e-2008-0410-955e-edbf42e46eb7
* EventHandler class, an abstraction for raw i/oGravatar brain2006-08-181-9/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
* Just commentsGravatar brain2006-08-171-2/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4935 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar brain2006-08-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4934 e03df62e-2008-0410-955e-edbf42e46eb7
* userrec::AddBuffer and userrec::Write end up copying the const std::string& ↵Gravatar brain2006-08-171-12/+10
| | | | | | into a non-const to make use of it, why not just pass std::string and let the compiler do the copy when passing it? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4933 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve userrec::AddBuffer (remove craq char to std::string loop)Gravatar brain2006-08-171-7/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4932 e03df62e-2008-0410-955e-edbf42e46eb7
* Change a std::string operator+= to append()Gravatar brain2006-08-171-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4931 e03df62e-2008-0410-955e-edbf42e46eb7
* Make sure that the hostname isnt set after the timeout periodGravatar brain2006-08-121-9/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4912 e03df62e-2008-0410-955e-edbf42e46eb7
* Just to mess with om's head, remove helperfuncs.h from everywhereGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
* CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.Gravatar brain2006-08-111-1/+1
| | | | | | | NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to using Instance->Log (InspIRCd::Log) rather than log() macroGravatar brain2006-08-111-25/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵Gravatar brain2006-08-111-7/+7
| | | | | | | | | object called ServerInstance, ilog() takes an InspIRCd object as first param. TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all of the xline stuff into class XLineManager, make an instance of it ↵Gravatar brain2006-08-111-6/+6
| | | | | | | | | in class InspIRCd and use it (eliminates another extern) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4878 e03df62e-2008-0410-955e-edbf42e46eb7