summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2006-11-14Tons of tweaks to the config stuff for the corebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5744 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13use --iter instead of iter-- in prunewhowaspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5738 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13fix for bug #173, unsafe delete while iteratingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5737 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13Fix PruneWhoWas to actually work right on rehash. Add debug output to ↵peavey
whowas. More code comments to whowas. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5734 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13add <whowas> config option to control whowas behaviour. *may break*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5731 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-12Fix off-by-one error in userrec::ChangeDisplayedHost, some hosts were truncatedom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5709 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Apply patch for bug #165 (compile warning for users.cpp) by peaveydkspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5660 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Fix IPv4 resolution, spank satmd if you were affected by thisw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5659 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added time syncing! This is fairly simple - servers exchange timestamps and ↵special
use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04Merge peaveys patch, tracker #162brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5642 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Fix compile error, and spank Brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02When we get an event on a userrec of EVENT_ERROR, and errornum is 0, send ↵brain
the error message "EOF from client" rather than using strerror and getting: Quit (Unknown error: 0) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5633 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02Please in the future everyone: DO NOT submit patches via nopaste. Nopaste is ↵brain
not designed for this, and mangles your patch so we cant apply it. gzip it instead! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5632 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Fixed another overflow, identical to the last onespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5622 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Fixed a little overflow, noticed by satmdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31Set write error when detectedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5610 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31Socket error state stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30Fix broken quits (i broke them by taking out a check i didnt think was ↵brain
required -- it was. RTFS!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5590 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30Select is now done, and some debug removed. Not that anyone really should be ↵brain
using select()... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5587 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30Fix for laggehnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5585 e03df62e-2008-0410-955e-edbf42e46eb7
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