doc/Services.txt: Update documentation for Anope 1.9.8
[ngircd-alex.git] / contrib / Anope / 0012-ngircd-Channel-mode-r-is-supported-now.patch
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 ---
8  modules/protocol/ngircd.cpp |    1 +
9  1 files changed, 1 insertions(+), 0 deletions(-)
10
11 diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
12 index 9c26ec8..6155667 100644
13 --- a/modules/protocol/ngircd.cpp
14 +++ b/modules/protocol/ngircd.cpp
15 @@ -512,6 +512,7 @@ class ProtongIRCd : public Module
16                 ModeManager::AddChannelMode(new ChannelMode(CMODE_MODERATED, 'm'));
17                 ModeManager::AddChannelMode(new ChannelMode(CMODE_NOEXTERNAL, 'n'));
18                 ModeManager::AddChannelMode(new ChannelMode(CMODE_PERM, 'P'));
19 +               ModeManager::AddChannelMode(new ChannelModeRegistered('r'));
20                 ModeManager::AddChannelMode(new ChannelMode(CMODE_REGISTEREDONLY, 'R'));
21                 ModeManager::AddChannelMode(new ChannelMode(CMODE_SECRET, 's'));
22                 ModeManager::AddChannelMode(new ChannelMode(CMODE_TOPIC, 't'));
23 -- 
24 1.7.8.3
25