]> arthur.barton.de Git - ngircd-alex.git/blob - contrib/Anope/0015-ngircd-ngIRCd-supports-channel-mode-e-now.patch
Merge branch 'bug109-CHARCONV'
[ngircd-alex.git] / contrib / Anope / 0015-ngircd-ngIRCd-supports-channel-mode-e-now.patch
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 ---
7  modules/protocol/ngircd.cpp |    3 ++-
8  1 files changed, 2 insertions(+), 1 deletions(-)
9
10 diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
11 index 3bc3812..0f87cbd 100644
12 --- a/modules/protocol/ngircd.cpp
13 +++ b/modules/protocol/ngircd.cpp
14 @@ -504,8 +504,9 @@ class ProtongIRCd : public Module
15                 ModeManager::AddUserMode(new UserMode(UMODE_WALLOPS, 'w'));
16                 ModeManager::AddUserMode(new UserMode(UMODE_CLOAK, 'x'));
17  
18 -               /* Add modes for ban and invite lists */
19 +               /* Add modes for ban, exception, and invite lists */
20                 ModeManager::AddChannelMode(new ChannelModeList(CMODE_BAN, 'b'));
21 +               ModeManager::AddChannelMode(new ChannelModeList(CMODE_EXCEPT, 'e'));
22                 ModeManager::AddChannelMode(new ChannelModeList(CMODE_INVITEOVERRIDE, 'I'));
23  
24                 /* Add channel user modes */
25 -- 
26 1.7.8.3
27