1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 18:16:38 +02:00

Fix detection of the nopartmsg module in the InspIRCd proto modules.

This commit is contained in:
Sadie Powell
2023-06-20 00:55:45 +01:00
parent 7c7158cf24
commit da2ac3e8a2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ struct IRCDMessageCapab : Message::Capab
ModeManager::AddChannelMode(new InspIRCdExtban::ChannelMatcher("CHANNELBAN", "BAN", 'j'));
else if (module == "m_gecosban.so")
ModeManager::AddChannelMode(new InspIRCdExtban::RealnameMatcher("REALNAMEBAN", "BAN", 'r'));
else if (module == "m_nopartmessage.so")
else if (module == "m_nopartmsg.so")
ModeManager::AddChannelMode(new InspIRCdExtban::EntryMatcher("PARTMESSAGEBAN", "BAN", 'p'));
else if (module == "m_serverban.so")
ModeManager::AddChannelMode(new InspIRCdExtban::ServerMatcher("SERVERBAN", "BAN", 's'));