summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set_misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_set_misc.cpp')
-rw-r--r--modules/commands/ns_set_misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_set_misc.cpp b/modules/commands/ns_set_misc.cpp
index b53b8ceaf..b6c5a7e3b 100644
--- a/modules/commands/ns_set_misc.cpp
+++ b/modules/commands/ns_set_misc.cpp
@@ -126,7 +126,7 @@ class NSSetMisc : public Module
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
- void OnNickInfo(CommandSource &source, NickAlias *na, bool ShowHidden)
+ void OnNickInfo(CommandSource &source, NickAlias *na, InfoFormatter &info, bool ShowHidden)
{
std::deque<Anope::string> list;
na->nc->GetExtList(list);
@@ -138,7 +138,7 @@ class NSSetMisc : public Module
NSMiscData *data = na->nc->GetExt<NSMiscData *>(list[i]);
if (data)
- 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;
}
}
};