diff options
author | Adam <Adam@anope.org> | 2010-06-26 21:12:31 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-26 21:12:31 -0400 |
commit | 36c646c7d2d4d0f057081c765f9048fc7ae751bf (patch) | |
tree | 9a5810343c197e6abd0048ebfa5e7b12b7d2b3e3 /src/protocol/inspircd12.cpp | |
parent | 4e31757f1467b36034e1dcef10d78533ff302d57 (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/inspircd12.cpp')
-rw-r--r-- | src/protocol/inspircd12.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index aa7d6a019..9b742e64e 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -1009,7 +1009,7 @@ int anope_event_capab(const char *source, int ac, const char **av) ModeManager::AddChannelMode(new ChannelModeExcept('e')); continue; case 'I': - ModeManager::AddChannelMode(new ChannelModeInvite('I')); + ModeManager::AddChannelMode(new ChannelModeInvex('I')); continue; /* InspIRCd sends q and a here if they have no prefixes */ case 'q': @@ -1162,9 +1162,6 @@ int anope_event_capab(const char *source, int ac, const char **av) case 'h': ModeManager::AddUserMode(new UserMode(UMODE_HELPOP, "UMODE_HELPOP", 'h')); continue; - case 's': - ModeManager::AddUserMode(new UserMode(UMODE_STRIPCOLOR, "UMODE_STRIPCOLOR", 'S')); - continue; case 'B': ModeManager::AddUserMode(new UserMode(UMODE_BOT, "UMODE_BOT", 'B')); continue; |