summaryrefslogtreecommitdiff
path: root/modules/commands/cs_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_info.cpp')
-rw-r--r--modules/commands/cs_info.cpp6
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));