From c24ec0686164274110f00f81622750312e539af1 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 13 Aug 2010 18:52:48 -0400 Subject: And fixed /bs info to show the correct chancount --- modules/core/bs_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core') diff --git a/modules/core/bs_info.cpp b/modules/core/bs_info.cpp index e03768759..fdf1b8d10 100644 --- a/modules/core/bs_info.cpp +++ b/modules/core/bs_info.cpp @@ -66,7 +66,7 @@ class CommandBSInfo : public Command strftime_lang(buf, sizeof(buf), u, STRFTIME_DATE_TIME_FORMAT, tm); notice_lang(Config.s_BotServ, u, BOT_INFO_BOT_CREATED, buf); notice_lang(Config.s_BotServ, u, BOT_INFO_BOT_OPTIONS, getstring(u, (bi->HasFlag(BI_PRIVATE) ? BOT_INFO_OPT_PRIVATE : BOT_INFO_OPT_NONE))); - notice_lang(Config.s_BotServ, u, BOT_INFO_BOT_USAGE, bi->chans.size()); + notice_lang(Config.s_BotServ, u, BOT_INFO_BOT_USAGE, bi->chancount); if (u->Account()->HasPriv("botserv/administration")) this->send_bot_channels(u, bi); -- cgit