From 45fc3ce1c41b06af6e03712988870ead95b72435 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 19 Dec 2011 15:37:15 -0500 Subject: Fixed formatting of many lists and INFO outputs --- modules/commands/cs_set_misc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/cs_set_misc.cpp') 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 list; ci->GetExtList(list); @@ -127,7 +127,7 @@ class CSSetMisc : public Module CSMiscData *data = ci->GetExt(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; } } }; -- cgit