summaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Replace the IP (in addition to hostname) for CGIIRC clients; fixes glines and...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10607 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-291-3/+3
* Reinvert order of insert/erase into user hash_map to avoid a lil crash :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-09-181-1/+1
* Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-141-15/+6
* Changed Allowed Modes to bitsets.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-09-131-37/+8
* Merge the second interface for socket hooking into one, so it's all done by A...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-071-3/+2
* Move all the parameters around AGAIN. See docs shortly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-311-3/+15
* Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded po...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-311-1/+1
* Fix recursion crash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10330 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-3/+7
* Don't force-finish a burst on a timer, instead, set bursted if a PONG is reci...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10326 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-1/+1
* Fix..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-2/+2
* Clean up opering a tiny bit.. pave the way for SVSOPER•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-66/+61
* Bounds checking on IsModeSet, etc, to stop silly problems•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10282 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-2/+8
* match() is no longer a function+no header, now a static method of InspIRCd cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-211-2/+2