diff options
author | Sadie Powell <sadie@witchery.services> | 2020-02-18 18:02:13 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-02-18 18:56:14 +0000 |
commit | df17d47b6a17ee6214f7f501e3b9d73cb8acd36e (patch) | |
tree | 9a0023b627fe612e5c3b678c8ad3d248f0d6db29 | |
parent | 9822a57460d4c7edc17c8fb7c760ae32326bf99d (diff) |
Use ircd-hybrid's numerics for the "pending invites" list.
This fixes a conflict with the numerics used by the invite
exception mode.
-rw-r--r-- | include/numerics.h | 2 | ||||
-rw-r--r-- | src/coremods/core_channel/cmd_invite.cpp | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/numerics.h b/include/numerics.h index 5a05a61eb..8e5dd140e 100644 --- a/include/numerics.h +++ b/include/numerics.h @@ -86,8 +86,6 @@ enum RPL_USERIP = 340, RPL_INVITING = 341, - RPL_INVITELIST = 346, // insp-specific (stolen from ircu) - RPL_ENDOFINVITELIST = 347, // insp-specific (stolen from ircu) RPL_VERSION = 351, RPL_NAMREPLY = 353, RPL_LINKS = 364, diff --git a/src/coremods/core_channel/cmd_invite.cpp b/src/coremods/core_channel/cmd_invite.cpp index a17d7e68b..b12192b3a 100644 --- a/src/coremods/core_channel/cmd_invite.cpp +++ b/src/coremods/core_channel/cmd_invite.cpp @@ -31,6 +31,13 @@ #include "core_channel.h" #include "invite.h" +enum +{ + // From ircd-hybrid. + RPL_INVITELIST = 336, + RPL_ENDOFINVITELIST = 337 +}; + CommandInvite::CommandInvite(Module* parent, Invite::APIImpl& invapiimpl) : Command(parent, "INVITE", 0, 0) , invapi(invapiimpl) |