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:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user