From df17d47b6a17ee6214f7f501e3b9d73cb8acd36e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Feb 2020 18:02:13 +0000 Subject: Use ircd-hybrid's numerics for the "pending invites" list. This fixes a conflict with the numerics used by the invite exception mode. --- src/coremods/core_channel/cmd_invite.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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) -- cgit v1.2.3