1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 19:53:13 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2023-11-24 13:04:00 +00:00
+7
View File
@@ -221,6 +221,13 @@ class CSSuspend : public Module
{
}
void OnReload(Configuration::Conf *conf) override
{
Anope::string s = conf->GetModule(this)->Get<Anope::string>("show");
commasepstream(s).GetTokens(show);
std::transform(show.begin(), show.end(), show.begin(), trim());
}
void OnChanInfo(CommandSource &source, ChannelInfo *ci, InfoFormatter &info, bool show_hidden) override
{
CSSuspendInfo *si = suspend.Get(ci);