0012-ngircd-Channel-mode-r-is-supported-now.patch 1.0 KB

12345678910111213141516171819202122232425
  1. From 99c18cafdee28bfb17fad5f0526b3ed5d1f5f312 Mon Sep 17 00:00:00 2001
  2. From: Alexander Barton <alex@barton.de>
  3. Date: Sat, 31 Dec 2011 16:17:50 +0100
  4. Subject: [PATCH 12/16] ngircd: let Anope know that channel mode "r" is
  5. supported
  6. ---
  7. modules/protocol/ngircd.cpp | 1 +
  8. 1 files changed, 1 insertions(+), 0 deletions(-)
  9. diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
  10. index 9c26ec8..6155667 100644
  11. --- a/modules/protocol/ngircd.cpp
  12. +++ b/modules/protocol/ngircd.cpp
  13. @@ -512,6 +512,7 @@ class ProtongIRCd : public Module
  14. ModeManager::AddChannelMode(new ChannelMode(CMODE_MODERATED, 'm'));
  15. ModeManager::AddChannelMode(new ChannelMode(CMODE_NOEXTERNAL, 'n'));
  16. ModeManager::AddChannelMode(new ChannelMode(CMODE_PERM, 'P'));
  17. + ModeManager::AddChannelMode(new ChannelModeRegistered('r'));
  18. ModeManager::AddChannelMode(new ChannelMode(CMODE_REGISTEREDONLY, 'R'));
  19. ModeManager::AddChannelMode(new ChannelMode(CMODE_SECRET, 's'));
  20. ModeManager::AddChannelMode(new ChannelMode(CMODE_TOPIC, 't'));
  21. --
  22. 1.7.8.3