summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 3774643fa..d7de214b1 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -108,7 +108,8 @@ void anope_SendCTCP(const char *source, const char *dest, const char *fmt, ...)
vsnprintf(buf, BUFSIZE - 1, fmt, args);
va_end(args);
}
- ircdproto->SendCTCP(source, dest, buf);
+ // XXX: CBX, when you move this to ircdproto, please make it take BotInfo * directly, thx :)
+ ircdproto->SendCTCP(findbot(source), dest, buf);
}
void anope_SendNumeric(const char *source, int numeric, const char *dest, const char *fmt, ...)