From 12a47e788b3eba8e395abdd46c2dc91692b9b292 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 6 Feb 2018 15:01:30 +0000 Subject: 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 --- src/modules/m_callerid.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') 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& tokens) CXX11_OVERRIDE { + tokens["ACCEPT"] = ConvToStr(cmd.maxaccepts); tokens["CALLERID"] = ConvToStr(myumode.GetModeChar()); } -- cgit v1.2.3