From f843e7bd9032923bd231bc83536a89d32e59d857 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 8 May 2013 11:13:48 -0400 Subject: Fix suspend info output in info and improved it --- modules/commands/cs_info.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'modules/commands/cs_info.cpp') 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 *>("suspend_by"), *reason = ci->GetExt *>("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)); -- cgit