aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix recursion of QuitUser in SendQ quitsGravatar Daniel De Graaf2011-05-231-7/+5
* Fix the stupid untested off-by-two ident length checkGravatar Daniel De Graaf2010-08-131-1/+1
* Fix memory leak in SetSockAddr (triggered by cgiirc clients)•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12332 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-301-0/+4
* Remove users from uuidlist/clientlist on QuitUser, not during cull (allows UI...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12327 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-301-2/+0
* Fix empty FMODE being sent if SendMode denies mode changes•••git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-281-1/+1
* Remove some very verbose debug that isn't really needed anymore•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11512 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-141-3/+0
* Make rehash work more than once per run, and fix some uninitialized values in...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11505 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-2/+2
* Fixes for config reader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-08-121-15/+35
* Comment on what looks like incorrect behaviour in User::Oper().•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11477 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-0/+7
* Revert "Don't do all the oper gubbins if the opertype doesn't exist. I've abs...•••This reverts commit d8ee5433eab5c67e9094d9114e3696728f1cab2a. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11476 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-49/+46
* Revert "Find the right variable so it actually works, too."•••This reverts commit a245aa22076e17e72c84e5a0f5699209cdf62727. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11475 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-1/+1
* Find the right variable so it actually works, too.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-1/+1
* Don't do all the oper gubbins if the opertype doesn't exist. I've absolutely ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11473 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-46/+49
* Check that the <connect> block actually specifies a host before checking whet...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11449 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-011-1/+1
* Fix r11381 checking HideWhoisServer incorrectly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11384 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-141-2/+2
* Hide server sources if HideWhoisServer is set, noticed by Brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11381 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-0/+14
* Use Utils->ServerUser instead of ServerInstance->FakeClient in m_spanningtree•••This makes it possible to determine which server initiated a mode change, instead of having only a flag saying that some server did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11379 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-0/+6
* Create subclass of User for FakeClient, to allow for use as command source•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-131-2/+2
* Fix memory leak on rehash: opertype used char* instead of std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11309 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-171-1/+1
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A'...•••Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-161-4/+4
* Fix for bug #788, set user->quitting before writing error to users socket, an...•••This allows the ERROR message to reach the user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11231 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-03-181-4/+4
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Fix bug #751 (wallops are not being processed remotely), reported by Taros.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11191 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-03-091-3/+0
* Fix +P channels being deleted when the final user /QUITs, thanks SnoFox•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11161 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-021-0/+4
* Also Extend user with FORCENick when calling the actual command handler for N...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11109 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-151-0/+2
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-12/+11
* Allow SANICK, SVSNICK, NICKLOCK, etc to override +bN N:. Fixes bug #607 and #...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11029 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-02-041-0/+4
* Tone down some logging to make debugging a tiny bit easier.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10977 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-221-3/+0
* Remove +o from users on deoper, plausible fix for bug #653 reported by Ankit....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10940 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-031-1/+4
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Remove lines_in and reset_due flood protection mechanism, recvq/sendq on thei...•••This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-2/+1
* Remove m_operflood, add privs: users/flood/no-throttle & users/flood/increase...•••This also saves another sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-3/+3
* Remove OverPenalty, saves sizeof(bool) per user.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-011-1/+1
* Remove +s when no snomasks are set.. bug found (indirectly) by jackmcbarn.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-021-0/+6
* Second attempt at time() -> SI->Time(), now problems with the original were f...•••Thanks Namegduf! (Please test, all, valdebug etc, report odd behaviour/warnings!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-3/+3
* Remove now-unneeded 4in6 hacks [danieldg]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-6/+2
* Merge commit 'ddg/out-12'•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10778 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-2/+6
* Fix 4in6 IP resolution hack now that the leading ::ffff: is stripped from the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10745 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-281-5/+4
* Remove one (now unneeded) 4in6 hack.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10744 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-281-8/+2
* Move spanningtree to use OnChangeLocalUserHost instead of OnChangeHost, this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10702 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-1/+2
* (sort of..) Revert commit 7736e920fe6ccaf9ad1984afc70db19efd4fb8cd - remove d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-0/+10
* Revert earlier time() -> SI->Time() diff for now, this causes problems with d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-231-3/+3
* Patch from Namegduf converting all instances (where possible) of time() -> Se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-231-3/+3
* Working privs implementation, and example usage in NOTICE for mass messaging.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10662 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-6/+68
* Migrate oper commands to an std::set, add a set for privs also. Change the AP...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-2/+2
* Add skeleton of HasPrivPermission.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10660 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-181-0/+7
* Remove space indenting. (Brain, *smack* :P)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10655 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-171-1/+1
* Remove the duplicate checking/disabled setting of <connect> craq, there is a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10654 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-171-10/+0
* Whooops! thanks psychon•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10619 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-10-031-2/+2
* Fix for bug #601•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10614 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-10-021-3/+9