summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/bs_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bs_info.c b/src/core/bs_info.c
index 8404d96e4..2c90dba9d 100644
--- a/src/core/bs_info.c
+++ b/src/core/bs_info.c
@@ -250,7 +250,7 @@ void send_bot_channels(User * u, BotInfo * bi)
for (ci = chanlists[i]; ci; ci = ci->next) {
if (ci->bi == bi) {
if (strlen(buf) + strlen(ci->name) > 300) {
- notice_user(s_BotServ, u, buf);
+ notice_user(s_BotServ, u, "%s", buf);
*buf = 0;
end = buf;
}