summaryrefslogtreecommitdiff
path: root/include/numerics.h
AgeCommit message (Collapse)Author
2021-02-25Allow a statusmsg to have multiple statuses and pick the lowest.Sadie Powell
This is pretty much useless but other implementations support it so we have to also support it for compatibility.
2021-02-18Fix the numeric sent when a U-lined alias target is not online.Sadie Powell
2020-12-22Send RPL_SAVENICK from irc2 when renaming a user to their UUID.Sadie Powell
2020-04-24Update copyright headers.InspIRCd Robot
2020-02-18Use ircd-hybrid's numerics for the "pending invites" list.Sadie Powell
This fixes a conflict with the numerics used by the invite exception mode.
2020-02-18Generalise XLine stats numerics using RPL_STATS from aircd.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2018-12-09Use consistent numerics when a mode already exists or doesn't exist.Peter Powell
2018-08-22Send the 001-004 numerics and MOTD/LUSERS from core_info.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-14Fix a bunch more conflicting/unnamed numerics.Peter Powell
2018-08-12Convert AWAY to use cross-module events and clean up slightly.Peter Powell
OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed.
2018-07-12Implement support for the WHOX extension.Peter Powell
This is a massive rewrite of core_who which was initially developed by Adam in 2014. I have rebased and cleaned it up and tightened up compliance with the specifications. Co-authored-by: Adam <Adam@anope.org>
2018-04-22Move a bunch of optional module numerics to the module source file.Peter Powell
2018-04-22Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.Peter Powell
There is no reason for these responses to have their own numerics when other modules do not. The only thing this does is make life harder for client developers.
2018-02-02Add names for a bunch of numerics.Peter Powell
2018-01-29Add ERR_INVALIDMODEPARAM for responding to invalid mode params.Peter Powell
Currently on invalid modes we do a combination of different things: 1. Send a custom mode-specific numeric (which often collides with other modes). 2. Send a server notice. 3. Do absolutely nothing. This new numeric is a generic way of handling invalid parameters when setting a mode that avoids all of the mistakes of the previous behaviour.
2017-12-22Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsB00mX0r
Per #1122
2017-12-09Clean up numeric usage in WHOIS and WHOWAS.Peter Powell
- Add constants for all of the used numerics. - Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with RPL_INVITELIST from ircd-hybrid. - Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with RPL_WHOISMODES from UnrealIRCd.
2017-09-06Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT.Peter Powell
Also move the command name to a parameter so that it is more easily parseable by software.
2017-09-06Convert uncontroversial anonymous numerics to use constants.Peter Powell
2017-09-06Change the numerics used by /COMMANDS to avoid a collision.Peter Powell
2017-07-13Improve the numerics we send in response to MAP.Peter Powell
- Send the same numerics as ircu/ircd-hybrid/charybdis/ratbox/etc. These are much more widespread and predate the Unreal numeric we currently send. - Move RPL_MAPUSERS to 018. This numeric is unused and does not conflict with RPL_PRIVS like our current one does.
2016-12-30cmd_mode Switch to a numeric for showing modes of other usersAttila Molnar
2016-09-02Fix whitespace issuesAttila Molnar
2016-06-22Fix sending the wrong numeric when an empty new nick is received.Peter Powell
2016-02-26Add RPL_WHOREPLY to the list of numericsAttila Molnar
Use it instead of the raw number
2016-02-25Add RPL_ISON, RPL_USERIP and RPL_USERHOST to the list of numericsAttila Molnar
Use them instead of the raw numbers
2016-02-25Add Numeric::NumericAttila Molnar
2015-01-24Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.Peter Powell
This is specified in RFC 1459 so we should probably use it.
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-14Fixes for bug #12Justin Crawford
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-13Merge patch from dKingston for missing TOPIC numeric, also replace the ↵brain
literal 331 with an RPL_* enum value, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
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
2009-02-14Add missing header #define assuring its only included once where neededpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11106 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14Nuke trailing spacespeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07Fix incorrect numerics, closes bug #588w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10113 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20304 -> RPL_SYNTAXbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20is rfc of sortsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10050 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20More numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Lots, lots more numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convert more stuff to use numerics.h, change SERVER to send ↵w00t
ERR_ALREADYREGISTERED instead of picking a random numeric. Also no longer send a notice to opers, as 1) this could flood and 2) stupid things like cgiirc will trigger this a lot. Additionally, add a note to REHASH about finding a way to kill rehash thread if needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10013 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Fix indentation to look rightbrain
Fix 008 and 042 to be correct (not invalid octal) Change documentation of 501 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10012 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13More conversion, and a note to client coders.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convertage.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10010 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13Convert, convert, convertw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10009 e03df62e-2008-0410-955e-edbf42e46eb7