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 /src | |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_channel/cmd_invite.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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) |