diff options
author | Adam <Adam@anope.org> | 2013-05-08 11:13:48 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-08 11:13:48 -0400 |
commit | f843e7bd9032923bd231bc83536a89d32e59d857 (patch) | |
tree | 8897524a20e2a0d48fa8b38414a8d912ce7e3aae /modules/commands/cs_info.cpp | |
parent | d7e2ab688b73a9316a75fd8cd39dc676a6e39a7f (diff) |
Fix suspend info output in info and improved it
Diffstat (limited to 'modules/commands/cs_info.cpp')
-rw-r--r-- | modules/commands/cs_info.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/commands/cs_info.cpp b/modules/commands/cs_info.cpp index e26dc1970..61511aaaf 100644 --- a/modules/commands/cs_info.cpp +++ b/modules/commands/cs_info.cpp @@ -108,12 +108,6 @@ class CommandCSInfo : public Command if (!ci->HasExt("NO_EXPIRE") && chanserv_expire && !Anope::NoExpire) info["Expires on"] = Anope::strftime(ci->last_used + chanserv_expire); } - if (ci->HasExt("SUSPENDED")) - { - Anope::string *by = ci->GetExt<ExtensibleItemClass<Anope::string> *>("suspend_by"), *reason = ci->GetExt<ExtensibleItemClass<Anope::string> *>("suspend_reason"); - if (by != NULL) - info["Suspended"] = Anope::printf("[%s] %s", by->c_str(), (reason && !reason->empty() ? reason->c_str() : NO_REASON)); - } FOREACH_MOD(I_OnChanInfo, OnChanInfo(source, ci, info, show_all)); |