summaryrefslogtreecommitdiff
path: root/src/protocol/inspircd12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/inspircd12.cpp')
-rw-r--r--src/protocol/inspircd12.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp
index c050a14e6..589dc0cfd 100644
--- a/src/protocol/inspircd12.cpp
+++ b/src/protocol/inspircd12.cpp
@@ -1022,7 +1022,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':
@@ -1175,9 +1175,6 @@ int anope_event_capab(const char *source, int ac, const char **av)
case 'h':
ModeManager::AddUserMode(new UserMode(UMODE_HELPOP, 'h'));
continue;
- case 's':
- ModeManager::AddUserMode(new UserMode(UMODE_STRIPCOLOR, 'S'));
- continue;
case 'B':
ModeManager::AddUserMode(new UserMode(UMODE_BOT, 'B'));
continue;