]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_channel/core_channel.h
Improve the logging of the httpd module.
[user/henk/code/inspircd.git] / src / coremods / core_channel / core_channel.h
index 2dd8f7feb105f06c2c984888820d5093268c5bb6..112cd0411367b416bbcb919a6b7a1f96f8c379a1 100644 (file)
@@ -50,6 +50,13 @@ namespace Invite
        };
 }
 
+enum
+{
+       // From RFC 1459.
+       RPL_BANLIST = 367,
+       RPL_ENDOFBANLIST = 368
+};
+
 /** Handle /INVITE.
  */
 class CommandInvite : public Command
@@ -164,7 +171,7 @@ class ModeChannelBan : public ListModeBase
 {
  public:
        ModeChannelBan(Module* Creator)
-               : ListModeBase(Creator, "ban", 'b', "End of channel ban list", 367, 368, true)
+               : ListModeBase(Creator, "ban", 'b', "End of channel ban list", RPL_BANLIST, RPL_ENDOFBANLIST, true)
        {
                syntax = "<mask>";
        }