diff options
| author | Adam <Adam@anope.org> | 2010-08-13 18:52:48 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-08-13 18:52:48 -0400 |
| commit | c24ec0686164274110f00f81622750312e539af1 (patch) | |
| tree | f816a46a850b5b94aa53458a7ffb72d1a3e5757b /modules | |
| parent | d4c7f67b5858e70c86753ba769100fc3401e074e (diff) | |
And fixed /bs info to show the correct chancount
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/core/bs_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
