summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2006-07-16Fix socket leak properly this timebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Rollback dns changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Fix dns socket leak found in stablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10- userrec::ProcessNoticeMasks - provide a way to set or unset masks.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4276 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10-Clone mode methods into notice mask methods for userrec.w00t
- Modify userrec to add char [] of notice masks, works in the same function as modes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4273 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Did some renaming so that the methods for modes in chanrec and userrec are ↵brain
identical. bool IsModeSet(const unsigned char c); void SetMode(const unsigned char c, bool value); Fixed m_botmode for new api git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Add userrec::HasMode, fix some typos.brain
TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly* Next - get umode +o working! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert new +isw modes to new mode formatbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4176 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Refactored user modes to work like the channel modes - core and module data ↵brain
now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-24More debug trackingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3966 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-14Broken kline matching in connect code (reported by LeaChim)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3959 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-06Ignore EAGAIN when write()ingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3931 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-03Checks for negative fd's when adding them to the socketengine so we can ↵brain
generate less debug output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3929 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵om
going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-07Make WriteServ use WriteServ_NoFormat, code duplication = bad >:/om
Change some weirdness using a stringstream for a simple append. Force a flush of all opers' write buffers after they get the oper notice about a /DIE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3842 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-26IS_LOCAL check on flushwritebufbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3756 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-25Possible fix for a desync conditionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3753 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-25kill_link safety checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3752 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-13Changed to use IS_LOCAL not user->fd > -1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3699 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12Adding to the buffer was clearing it first, reverting the buffering to a ↵brain
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
2006-03-10Tidyup and move ConvToStr to a publically accessible placebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3640 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Another typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3639 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Moved more stuff into right placesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Changing by-value parameters to const referencesom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3605 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Speedupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Added userrec::modebits - fast way of checking if user has +swi rather than ↵brain
an icky strchr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Fixed to correctly use iteratorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Fixed to use iteratorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3580 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Probably wont compile yet - purge_empty_channels refactorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Flush user buffers more often (every 30 iterations)brain
Run whowas hash maintainance every hour git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Whois typo fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Whowas refactor - probably wont compile yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Improved userlist to avoid strlenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3514 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05Sped up introduction of nicks using vector::resize() rather than the craq++ ↵brain
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
2006-03-02Slight optimization herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Strdup's to stop corruption of oper classesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3433 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Fix for warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3432 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02sstrdup?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3431 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02*UNTESTED* speeding up HasPermission by factor of hundreds, avoid using ↵brain
EnumConf and ConfValue outside of rehash *AT ALL* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3430 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02More efficient AddClient, initializes two identical buffers at once ;)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3427 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Made host fields more correct 64 in length with 63 copiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Extra checks that should prevent desyncs if you stuff up your type/class ↵brain
tags between servers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3413 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Fixed some weirdass whowas stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3352 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵brain
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
2006-02-21Tests for channel ghosting?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3276 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Apparently to catch descendent classes we need to catch a reference to the ↵brain
parent, not the parent itself git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Added exception handling for module loadingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7