summaryrefslogtreecommitdiff
path: root/modules/commands/cs_info.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-06-27 16:23:17 -0400
committerAdam <Adam@anope.org>2012-07-01 22:26:05 -0400
commit9b5f6d3c45987f29a6270b0cc3e8327c232ab991 (patch)
treec908ec5fe94d9ae51f078e3679d382ef6da71cdc /modules/commands/cs_info.cpp
parentaf24dc605079e2a37fb013e3c1f72b0d916b61a4 (diff)
Remove ExtensibleString everywhere
Diffstat (limited to 'modules/commands/cs_info.cpp')
-rw-r--r--modules/commands/cs_info.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/commands/cs_info.cpp b/modules/commands/cs_info.cpp
index 3c113269e..591a0f673 100644
--- a/modules/commands/cs_info.cpp
+++ b/modules/commands/cs_info.cpp
@@ -13,8 +13,6 @@
#include "module.h"
-struct ExtensibleString : Anope::string, ExtensibleItem { };
-
class CommandCSInfo : public Command
{
void CheckOptStr(Anope::string &buf, ChannelInfoFlag opt, const char *str, const ChannelInfo *ci, const NickCore *nc)
@@ -106,7 +104,7 @@ class CommandCSInfo : public Command
}
if (ci->HasFlag(CI_SUSPENDED))
{
- Anope::string *by = ci->GetExt<ExtensibleString *>("suspend_by"), *reason = ci->GetExt<ExtensibleString *>("suspend_reason");
+ 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));
}