summaryrefslogtreecommitdiff
path: root/modules/commands/bs_info.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-24 14:53:34 -0500
committerAdam <Adam@anope.org>2012-02-24 14:53:34 -0500
commit2337b7717db05e0c8b53da2d61b5a66f58cc0297 (patch)
tree4e69f0cfcb64b477cf751403883ff8f4847d31f9 /modules/commands/bs_info.cpp
parent24811e59705f2d8995f900f82066084bf22f15ec (diff)
Fixed calculating bots channel count of assigned channels and fixed the order of saving memos (among other things)
Diffstat (limited to 'modules/commands/bs_info.cpp')
-rw-r--r--modules/commands/bs_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/bs_info.cpp b/modules/commands/bs_info.cpp
index 5026de3c7..ed36818b3 100644
--- a/modules/commands/bs_info.cpp
+++ b/modules/commands/bs_info.cpp
@@ -71,7 +71,7 @@ class CommandBSInfo : public Command
info[_("Real name")] = bi->realname;
info[_("Created")] = do_strftime(bi->created);
info[_("Options")] = bi->HasFlag(BI_PRIVATE) ? _("Private") : _("None");
- info[_("Used on")] = stringify(bi->chancount) + " channel(s)";
+ info[_("Used on")] = stringify(bi->GetChannelCount()) + " channel(s)";
std::vector<Anope::string> replies;
info.Process(replies);