1
0

0015-ngircd-ngIRCd-supports-channel-mode-e-now.patch 1.0 KB

123456789101112131415161718192021222324252627
  1. From 3a61b190db79848d4519296432ebb2ab714c42b7 Mon Sep 17 00:00:00 2001
  2. From: Alexander Barton <alex@barton.de>
  3. Date: Sun, 22 Jan 2012 19:06:34 +0100
  4. Subject: [PATCH 15/16] ngircd: ngIRCd supports channel mode 'e' now
  5. ---
  6. modules/protocol/ngircd.cpp | 3 ++-
  7. 1 files changed, 2 insertions(+), 1 deletions(-)
  8. diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
  9. index 3bc3812..0f87cbd 100644
  10. --- a/modules/protocol/ngircd.cpp
  11. +++ b/modules/protocol/ngircd.cpp
  12. @@ -504,8 +504,9 @@ class ProtongIRCd : public Module
  13. ModeManager::AddUserMode(new UserMode(UMODE_WALLOPS, 'w'));
  14. ModeManager::AddUserMode(new UserMode(UMODE_CLOAK, 'x'));
  15. - /* Add modes for ban and invite lists */
  16. + /* Add modes for ban, exception, and invite lists */
  17. ModeManager::AddChannelMode(new ChannelModeList(CMODE_BAN, 'b'));
  18. + ModeManager::AddChannelMode(new ChannelModeList(CMODE_EXCEPT, 'e'));
  19. ModeManager::AddChannelMode(new ChannelModeList(CMODE_INVITEOVERRIDE, 'I'));
  20. /* Add channel user modes */
  21. --
  22. 1.7.8.3