1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 11:06:38 +02:00

InspIRCd: Add support for sending detecting m_topiclock and sending SVSTOPIC when it is available

This commit is contained in:
attilamolnar
2012-10-07 01:33:49 +02:00
parent 42aa367f16
commit 682d76835e
3 changed files with 19 additions and 6 deletions
+3
View File
@@ -134,6 +134,7 @@ struct IRCDMessageCapab : IRCDMessage
has_servicesmod = false;
has_chghostmod = false;
has_chgidentmod = false;
has_svstopic_topiclock = false;
ircdproto->CanSVSHold = false;
}
else if (params[0].equals_cs("CHANMODES") && params.size() > 1)
@@ -308,6 +309,8 @@ struct IRCDMessageCapab : IRCDMessage
if (!Config->RegexEngine.empty() && module.length() > 11 && Config->RegexEngine != module.substr(11))
Log() << "Warning: InspIRCd is using regex engine " << module.substr(11) << ", but we have " << Config->RegexEngine << ". This may cause inconsistencies.";
}
else if (module.equals_cs("m_topiclock.so"))
has_svstopic_topiclock = true;
}
}
else if (params[0].equals_cs("MODSUPPORT") && params.size() > 1)