summaryrefslogtreecommitdiff
path: root/src/commands
Commit message (Collapse)AuthorAgeFilesLines
* Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, ↵Gravatar w00t2009-08-151-1/+1
| | | | | | | | (adding RPL_NOTOPICSET). This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11527 e03df62e-2008-0410-955e-edbf42e46eb7
* Make ident handling consistant: use ChangeIdent for all ident manipulation. ↵Gravatar w00t2009-08-141-1/+1
| | | | | | This fixes cache bugs properly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11518 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for config readerGravatar danieldg2009-08-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
* Make rehash generate a new ServerInstance->Config objectGravatar danieldg2009-07-013-19/+17
| | | | | | | This makes it possible to cancel a pending rehash, and fixes possible threading issues with rehash and other events. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11424 e03df62e-2008-0410-955e-edbf42e46eb7
* Move list of open ports out of Config objectGravatar danieldg2009-07-011-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11423 e03df62e-2008-0410-955e-edbf42e46eb7
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-241-19/+29
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Globally route "a" snotices for more modules. Patch from Milliways.Gravatar danieldg2009-05-022-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352 e03df62e-2008-0410-955e-edbf42e46eb7
* Send rehash message to global sno, fixes bug #855. Also only send message ↵Gravatar danieldg2009-05-021-9/+10
| | | | | | when the rehash happens. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11344 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix OnSetAway hook denying remote users' change rather than local usersGravatar danieldg2009-04-271-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11334 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix OnUserRegister being triggered twice if someone sent a NICK while ↵Gravatar danieldg2009-04-261-11/+12
| | | | | | waiting on an ident timeout git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11329 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-166-9/+9
| | | | | | | | | 'A' for remote announcements. 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
* Don't do anything with logging in the handler for /REHASH.Gravatar dz2009-04-041-6/+3
| | | | | | | What was here would close all of the logs and attempt to reopen only the startup log, resulting in a crash if the startup log had been properly closed already. Logs are already properly restarted when the config thread exits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11284 e03df62e-2008-0410-955e-edbf42e46eb7
* send ERR_NEEDMOREPARAMS if an empty parameter is given to STATS ('STATS :'), ↵Gravatar dz2009-03-291-1/+6
| | | | | | fixes bug #813 reported by Kazuma. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11271 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove excessive mutex use on thread creationGravatar danieldg2009-03-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
* Show users their own server name in "/whois myself"Gravatar danieldg2009-03-191-56/+48
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11236 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-1553-53/+53
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. 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
* Show the IP address only in zline added messages if *@ip was supplied.Gravatar dz2009-03-141-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11221 e03df62e-2008-0410-955e-edbf42e46eb7
* Strip a zline target of anything resembling an ident prior to sanity ↵Gravatar dz2009-03-141-16/+9
| | | | | | checking rather than after, fixes bug #766 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11220 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Taros to regular contributors list, too.Gravatar w00t2009-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11192 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #764 (/stats i outputs numerics with uppercase I), reported by ↵Gravatar w00t2009-03-091-1/+1
| | | | | | KingTarquin, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11190 e03df62e-2008-0410-955e-edbf42e46eb7
* Restrict some /WHO options to opersGravatar danieldg2009-03-031-4/+8
| | | | | | | | | There is no reason to be able to query the umodes of other users or the port they connected on; this can contain private information. If HideWhoisServer is on, also restrict local/far query. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11164 e03df62e-2008-0410-955e-edbf42e46eb7
* Restrict /WHO <item> M to opersGravatar danieldg2009-02-191-1/+2
| | | | | | | Metadata keys can contain information that should not be viewable by users, such as "delayjoin_#channel". git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11130 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-1414-36/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Add security:genericoper as requested by Strawberry and TwinShadow.Gravatar brain2009-02-131-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11098 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix nick@server.target PRIVMSG and NOTICE, noticed by GeniusDex.Gravatar w00t2009-02-112-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11086 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove duplicate MacGyver.Gravatar w00t2009-02-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11041 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Ankit to regular contributors listGravatar w00t2009-02-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11031 e03df62e-2008-0410-955e-edbf42e46eb7
* Credits updates.Gravatar w00t2009-01-271-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11009 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug found by danieldg, where remote nicks were truncated to NICKMAX, ↵Gravatar brain2009-01-221-5/+5
| | | | | | | | | | but NICKMAX can now vary from server to server, so only truncate the nickname for local nicknames. For remote nicknames, allow any length nickname up to MAXBUF (the max length of an IRC line) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10984 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-0253-53/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug spotted by KingTarquin, if an empty string is given to /stats with ↵Gravatar brain2008-12-281-1/+2
| | | | | | "STATS :", then a byte of undefined memory in a std::string object is read as the stats char. Probably unsafe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10927 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert necessary match calls to use ASCII casemap.Gravatar w00t2008-12-072-4/+4
| | | | | | 1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7
* Rip flood/threshold out of config classes also.Gravatar w00t2008-12-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10839 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Phoenix to regular contributors listGravatar w00t2008-11-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10804 e03df62e-2008-0410-955e-edbf42e46eb7
* Obsolete m_restrictbanned, add <security:restrictbannedusers>, default on.. ↵Gravatar w00t2008-11-012-3/+26
| | | | | | this is insane to leave off, really, but allow it anyway. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10785 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct this error message to confuse people less.Gravatar w00t2008-11-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10784 e03df62e-2008-0410-955e-edbf42e46eb7
* Second attempt at time() -> SI->Time(), now problems with the original were ↵Gravatar w00t2008-11-011-1/+1
| | | | | | | | | fixed. (SI::TIME was not initialised). 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
* dz added to /info, psychon (omitted?!) added to startup :)Gravatar w00t2008-10-281-10/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10734 e03df62e-2008-0410-955e-edbf42e46eb7
* D'ohGravatar brain2008-10-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10723 e03df62e-2008-0410-955e-edbf42e46eb7
* Epic fail, did someone order a shipment of fail?Gravatar brain2008-10-262-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10722 e03df62e-2008-0410-955e-edbf42e46eb7
* This one tooGravatar brain2008-10-261-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10721 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix obvious oversight spotted by Ankit, provide xline reasons when adding themGravatar brain2008-10-264-13/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10720 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert earlier time() -> SI->Time() diff for now, this causes problems with ↵Gravatar w00t2008-10-231-1/+1
| | | | | | dns.cpp in mysterious ways.. seemingly a bad pointer there somehow..? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from Namegduf converting all instances (where possible) of time() -> ↵Gravatar w00t2008-10-231-1/+1
| | | | | | ServerInstance->Time(). Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10691 e03df62e-2008-0410-955e-edbf42e46eb7
* Only announce Q:Line hits on NICK from unregistered users, thanks satmd.Gravatar w00t2008-10-221-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10685 e03df62e-2008-0410-955e-edbf42e46eb7
* Tie settings in mode and whowas to privs.Gravatar w00t2008-10-181-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10675 e03df62e-2008-0410-955e-edbf42e46eb7
* Tie a number of /who settings to servers/auspex and users/auspex respectively.Gravatar w00t2008-10-182-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10674 e03df62e-2008-0410-955e-edbf42e46eb7
* Tie display of realhost in USERHOST to users/auspex priv.Gravatar w00t2008-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10673 e03df62e-2008-0410-955e-edbf42e46eb7
* Tie /stats that aren't explicitly marked for users into servers/auspex.Gravatar w00t2008-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10672 e03df62e-2008-0410-955e-edbf42e46eb7
* Tie module version display to servers/auspex priv.Gravatar w00t2008-10-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10671 e03df62e-2008-0410-955e-edbf42e46eb7