summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2006-10-30For users, we now only write when the socketengine says theyre writeable, ↵brain
setting WantWrite after we call userrec::Write(). The old way was to always try and flush the buffer after every read, regardless of wether the socket was writeable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5584 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30WARNING: This commit breaks kqueue and select -- work in progress!brain
epoll now allows both a write and a read event on a socket at the same time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5580 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28And fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5574 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Add support for OnWhoisLine, which allows modules to change or drop any line ↵brain
of whois before its sent to a user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28And so does my coding on a saturday afternoon...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5564 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28I HATE YOU DEBIAN, YOU AND YOUR WHOLE OPERATION STINKbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5563 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Try this, werdnumbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5562 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-28Unknown change herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5559 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-27<pid file> is no longer a manditory tag (thanks dotslasher)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5556 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26Fix broken GlobalCloneCount (AGAIN).brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5544 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Change around some dns stuff (dont use this yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5522 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Tidyupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06/me thwaps special for not reading comments :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5445 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06WriteOpers when reaching the softlimitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5442 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06More.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5440 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06More debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5439 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Extra debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5438 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05And fix my typoes :Dbrain
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
2006-10-05Move opertypes/operclasses maps into ServerConfig, for some reason these ↵brain
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
2006-10-04Whowas is now fixed.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5414 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-02Better fix to crash jamie experienced. epoll was the only socket engine ↵w00t
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
2006-10-02Brain, please review this commit ASAP. jamie, hopefully this fixes the crashw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5384 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01userrec::CountGlobalClones malfunctioning, spotted by jamie, fixes bug#157 ↵brain
effecting only beta2 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5369 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Last tidyup of the daybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5352 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Tidyupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5351 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Speed improvements to userrec::GlobalCloneCount()special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5320 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Make the check against z/k/q/e/g methods return a pointer to the whole ↵brain
object rather than just the reason string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5305 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10* Fix ChanModes::ModeString to not try and set a key as a user mode ;)brain
* 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
2006-09-10Fix the new g/k/e line stuff to match ips. NOTE: this makes g/k/e much ↵brain
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
2006-09-10Match IP's with klines, glines and exceptions, as well as hostsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5201 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-09Dont generate host change, ident change or fullname change events if the ↵brain
host hasnt changed (case sensitive comparisons) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5187 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-08Stop valgrind whining about uninitialized array, all we do is pass it as a ↵brain
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
2006-09-07userrec::ForceNickChange was broken (not the entire nickchange system as i'd ↵brain
suspected at first) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5156 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-01Exception handling in most of userrec... not too fine grained yet howeverbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5098 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Made CountChannels faster. We use it in quite a few places. It's now O(1) ↵brain
rather than O(n) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5094 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Annnd, get the fix right.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5079 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Fix for correct display when removing snomaskbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5078 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Put servername in remote quitsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5077 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29+Q and +C (remote quit and connect) snomasks implementedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5066 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Implement messages for snomasks +cq (local connect, local quit)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5065 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29auto-set +s when +n is set (as +n requires +s) - allow +n to be 'set twice' ↵brain
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
2006-08-29Snomask support cometh! and it leave a sticky white mess all over the floor :(brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5062 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Fix changing of idents and hosts (it wasnt working -- in fact WriteCommon ↵brain
was sort of BROKEN AS HELL) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5023 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Add userrec::ChangeIdent (which we were missing) which can emulate the ↵brain
quit/rejoin same as ChangeDisplayedHost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5022 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Add <options:cyclehosts> which allows a user to appear to have quit when ↵brain
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
2006-08-24Moved an ipv6-only variable in userrec::GetIPString into the ↵special
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
2006-08-24Renamed the OnGlobalConnect callback to OnPostConnect, which is much more ↵special
appropriate git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5010 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23More prefixchar stuff.brain
WARNING: 005 numeric is broken in this commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5000 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23Spotted problem: must clear out all prefixes attached to a user when they ↵brain
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