aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_botmode.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-12-09 16:12:00 +0000
committerGravatar Peter Powell2017-12-09 17:16:11 +0000
commit150258b1f110aad58c8882b76474a4ceb3b2ab97 (patch)
treeb67bd53f27f81cf3e54267f35e2270ca8eaff392 /src/modules/m_botmode.cpp
parentAdd names for a bunch more numerics. (diff)
Clean up numeric usage in WHOIS and WHOWAS.
- 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.
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r--src/modules/m_botmode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 487bc140b..1544562c0 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -24,7 +24,7 @@
enum
{
// From UnrealIRCd.
- RPL_WHOISBOT = 335,
+ RPL_WHOISBOT = 335
};
class ModuleBotMode : public Module, public Whois::EventListener