summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More checks for running out of file descriptors, or file descriptors being ↵Gravatar brain2006-08-081-1/+5
| | | | | | forbidden git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4779 e03df62e-2008-0410-955e-edbf42e46eb7
* more +fjJGravatar brain2006-08-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4664 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fjJ to 004 - this really needs to be dynamically generated but i'll save ↵Gravatar brain2006-08-031-1/+1
| | | | | | this for 1. but i'll save this for 1.1 git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4663 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra debugging just in case we need itGravatar brain2006-07-301-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4593 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a non-essential function callGravatar brain2006-07-161-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4416 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS fixes - needs further testingGravatar brain2006-07-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4409 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuffGravatar brain2006-07-161-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4408 e03df62e-2008-0410-955e-edbf42e46eb7
* Rollback dns changeGravatar brain2006-07-141-8/+0
| | | | | | | svn merge -r 4383:4379 svn+ssh://neuron/usr/local/svnroot/branches/1_0_stable git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4385 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix sometimes-leaking dns sockets when user quits between the two lookups ↵Gravatar brain2006-07-141-0/+8
| | | | | | (forward and reverse) git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4382 e03df62e-2008-0410-955e-edbf42e46eb7
* FEAR THE POWER OF VIM AND THE ALMIGHTY "%s/ /\t/g"Gravatar brain2006-07-091-258/+258
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4249 e03df62e-2008-0410-955e-edbf42e46eb7
* More debug trackingGravatar brain2006-05-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3965 e03df62e-2008-0410-955e-edbf42e46eb7
* Broken kline matching in connect code (reported by LeaChim)Gravatar brain2006-05-141-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3958 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport of EAGAIN checkGravatar brain2006-05-061-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3932 e03df62e-2008-0410-955e-edbf42e46eb7
* IS_LOCAL check on flushwritebufGravatar brain2006-03-261-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3756 e03df62e-2008-0410-955e-edbf42e46eb7
* Possible fix for a desync conditionGravatar w00t2006-03-251-2/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3753 e03df62e-2008-0410-955e-edbf42e46eb7
* kill_link safety checksGravatar brain2006-03-251-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3752 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use IS_LOCAL not user->fd > -1Gravatar brain2006-03-131-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3699 e03df62e-2008-0410-955e-edbf42e46eb7
* Adding to the buffer was clearing it first, reverting the buffering to a ↵Gravatar brain2006-03-121-4/+2
| | | | | | pre-alpha-6 kind of way of doing stuff (erk) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3689 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup and move ConvToStr to a publically accessible placeGravatar brain2006-03-101-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3640 e03df62e-2008-0410-955e-edbf42e46eb7
* Another typoGravatar brain2006-03-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3639 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved more stuff into right placesGravatar brain2006-03-101-17/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3637 e03df62e-2008-0410-955e-edbf42e46eb7
* Changing by-value parameters to const referencesGravatar om2006-03-091-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3605 e03df62e-2008-0410-955e-edbf42e46eb7
* SpeedupsGravatar brain2006-03-091-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
* Added userrec::modebits - fast way of checking if user has +swi rather than ↵Gravatar brain2006-03-091-1/+1
| | | | | | an icky strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to correctly use iteratorGravatar brain2006-03-091-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to use iteratorsGravatar brain2006-03-091-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3580 e03df62e-2008-0410-955e-edbf42e46eb7
* Probably wont compile yet - purge_empty_channels refactorGravatar brain2006-03-091-5/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
* Flush user buffers more often (every 30 iterations)Gravatar brain2006-03-071-0/+2
| | | | | | | Run whowas hash maintainance every hour git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3527 e03df62e-2008-0410-955e-edbf42e46eb7
* Whois typo fixesGravatar brain2006-03-071-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
* Whowas refactor - probably wont compile yetGravatar brain2006-03-071-49/+58
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved userlist to avoid strlenGravatar brain2006-03-071-6/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3514 e03df62e-2008-0410-955e-edbf42e46eb7
* Sped up introduction of nicks using vector::resize() rather than the craq++ ↵Gravatar brain2006-03-051-2/+1
| | | | | | | | | loop (wtf was i thinking doing it that way?) Removed 'client connecting notices dont show locally during burst' -- this is silly as it doesnt work remotely and is pretty much pointless git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3460 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight optimization hereGravatar brain2006-03-021-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3434 e03df62e-2008-0410-955e-edbf42e46eb7
* Strdup's to stop corruption of oper classesGravatar brain2006-03-021-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3433 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for warningGravatar brain2006-03-021-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3432 e03df62e-2008-0410-955e-edbf42e46eb7
* sstrdup?!Gravatar brain2006-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3431 e03df62e-2008-0410-955e-edbf42e46eb7
* *UNTESTED* speeding up HasPermission by factor of hundreds, avoid using ↵Gravatar brain2006-03-021-21/+53
| | | | | | EnumConf and ConfValue outside of rehash *AT ALL* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3430 e03df62e-2008-0410-955e-edbf42e46eb7
* More efficient AddClient, initializes two identical buffers at once ;)Gravatar brain2006-03-021-99/+25
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3427 e03df62e-2008-0410-955e-edbf42e46eb7
* Made host fields more correct 64 in length with 63 copiesGravatar brain2006-03-021-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra checks that should prevent desyncs if you stuff up your type/class ↵Gravatar brain2006-03-021-6/+4
| | | | | | tags between servers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3413 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed some weirdass whowas stuffGravatar brain2006-02-261-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3352 e03df62e-2008-0410-955e-edbf42e46eb7
* Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵Gravatar brain2006-02-221-2/+2
| | | | | | | | | | as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was. And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again. Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7
* Tests for channel ghosting?Gravatar brain2006-02-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3276 e03df62e-2008-0410-955e-edbf42e46eb7
* Apparently to catch descendent classes we need to catch a reference to the ↵Gravatar brain2006-02-191-2/+2
| | | | | | parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
* Added exception handling for module loadingGravatar brain2006-02-191-2/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed a whole lot of strchr's looking for mode +o where we can do if ↵Gravatar brain2006-02-151-1/+1
| | | | | | *user->oper git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
* Experimental improved string handling in server linksGravatar brain2006-02-071-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3127 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly initialize userrec::password (should fix a few m_sql issues)Gravatar brain2006-01-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2946 e03df62e-2008-0410-955e-edbf42e46eb7
* Added warnings to opers when session limits are exceededGravatar brain2006-01-271-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2935 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!Gravatar brain2006-01-271-11/+49
| | | | | | | | Added global and local session limits All of this needs TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7