summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-02-06 15:01:30 +0000
committerPeter Powell <petpow@saberuk.com>2018-02-07 11:35:42 +0000
commit12a47e788b3eba8e395abdd46c2dc91692b9b292 (patch)
tree2f235069e4f714b9a01ef0abc01e00f5d75895ce /src/modules
parent4132a44396d8fa3d23f87b5cbea5b928aa09769f (diff)
Send the ACCEPT and KEYLEN ISUPPORT tokens.
- The ACCEPT=[count] token specifies the maximum amount of nicks which can be added to a m_callerid accept list. This token was added by ircd-ratbox in 3.0.9. - The KEYLEN=[length] token specifies the maximum length of a channel key. This token was added by ircd-ratbox in 3.1 beta. For more info see http://defs.ircdocs.horse/defs/isupport.html
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_callerid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index 349c48c29..d69f5606f 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -371,6 +371,7 @@ public:
void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE
{
+ tokens["ACCEPT"] = ConvToStr(cmd.maxaccepts);
tokens["CALLERID"] = ConvToStr(myumode.GetModeChar());
}