summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set_misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_set_misc.cpp')
-rw-r--r--modules/commands/cs_set_misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_set_misc.cpp b/modules/commands/cs_set_misc.cpp
index bbd936c65..b72aca423 100644
--- a/modules/commands/cs_set_misc.cpp
+++ b/modules/commands/cs_set_misc.cpp
@@ -115,7 +115,7 @@ class CSSetMisc : public Module
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
- void OnChanInfo(CommandSource &source, ChannelInfo *ci, bool ShowHidden)
+ void OnChanInfo(CommandSource &source, ChannelInfo *ci, InfoFormatter &info, bool ShowHidden)
{
std::deque<Anope::string> list;
ci->GetExtList(list);
@@ -127,7 +127,7 @@ class CSSetMisc : public Module
CSMiscData *data = ci->GetExt<CSMiscData *>(list[i]);
if (data != NULL)
- source.Reply(" %s: %s", list[i].substr(12).replace_all_cs("_", " ").c_str(), data->data.c_str());
+ info[list[i].substr(12).replace_all_cs("_", " ")] = data->data;
}
}
};