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