summaryrefslogtreecommitdiff
path: root/src/protocol/ratbox.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-06-26 21:12:31 -0400
committerAdam <Adam@anope.org>2010-06-26 21:12:31 -0400
commit36c646c7d2d4d0f057081c765f9048fc7ae751bf (patch)
tree9a5810343c197e6abd0048ebfa5e7b12b7d2b3e3 /src/protocol/ratbox.cpp
parent4e31757f1467b36034e1dcef10d78533ff302d57 (diff)
Added support for InspIRCd 2.0s dynamic modes.
Note that this changes the maximum length of an acceptable IRC message from 512 to 1024 because InspIRCd sends messages longer than 512 characters.
Diffstat (limited to 'src/protocol/ratbox.cpp')
-rw-r--r--src/protocol/ratbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/ratbox.cpp b/src/protocol/ratbox.cpp
index 41759e79b..6ffb91164 100644
--- a/src/protocol/ratbox.cpp
+++ b/src/protocol/ratbox.cpp
@@ -846,7 +846,7 @@ static void AddModes()
/* b/e/I */
ModeManager::AddChannelMode(new ChannelModeBan('b'));
ModeManager::AddChannelMode(new ChannelModeExcept('e'));
- ModeManager::AddChannelMode(new ChannelModeInvite('I'));
+ ModeManager::AddChannelMode(new ChannelModeInvex('I'));
/* v/h/o/a/q */
ModeManager::AddChannelMode(new ChannelModeStatus(CMODE_VOICE, "CMODE_VOICE", 'v', '+'));