mirror of
https://github.com/anope/anope.git
synced 2026-07-10 03:23:13 +02:00
Fixed formatting of many lists and INFO outputs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user