summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Set write error when detectedGravatar brain2006-10-311-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5610 e03df62e-2008-0410-955e-edbf42e46eb7
* Socket error state stuffGravatar brain2006-10-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken quits (i broke them by taking out a check i didnt think was ↵Gravatar brain2006-10-301-1/+1
| | | | | | required -- it was. RTFS!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5590 e03df62e-2008-0410-955e-edbf42e46eb7
* Select is now done, and some debug removed. Not that anyone really should be ↵Gravatar brain2006-10-301-1/+0
| | | | | | using select()... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5587 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for laggehnessGravatar brain2006-10-301-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5585 e03df62e-2008-0410-955e-edbf42e46eb7
* For users, we now only write when the socketengine says theyre writeable, ↵Gravatar brain2006-10-301-0/+1
| | | | | | | | | 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
* WARNING: This commit breaks kqueue and select -- work in progress!Gravatar brain2006-10-301-2/+16
| | | | | | | 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
* And fix typoGravatar brain2006-10-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5574 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for OnWhoisLine, which allows modules to change or drop any line ↵Gravatar brain2006-10-281-3/+4
| | | | | | of whois before its sent to a user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7
* And so does my coding on a saturday afternoon...Gravatar brain2006-10-281-14/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5564 e03df62e-2008-0410-955e-edbf42e46eb7
* I HATE YOU DEBIAN, YOU AND YOUR WHOLE OPERATION STINKGravatar brain2006-10-281-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5563 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this, werdnumGravatar brain2006-10-281-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5562 e03df62e-2008-0410-955e-edbf42e46eb7
* Unknown change hereGravatar brain2006-10-281-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5559 e03df62e-2008-0410-955e-edbf42e46eb7
* <pid file> is no longer a manditory tag (thanks dotslasher)Gravatar brain2006-10-271-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5556 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken GlobalCloneCount (AGAIN).Gravatar brain2006-10-261-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5544 e03df62e-2008-0410-955e-edbf42e46eb7
* Change around some dns stuff (dont use this yet)Gravatar brain2006-10-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5522 e03df62e-2008-0410-955e-edbf42e46eb7
* TidyupGravatar brain2006-10-221-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5521 e03df62e-2008-0410-955e-edbf42e46eb7
* /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