From bd4b99386bcf9846b8375e658b70eea3f19770c3 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 23:14:30 +0000 Subject: [PATCH] Make ircd.c compile for real. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1374 5417fbe8-f217-4b02-8779-1006273d7864 --- src/ircd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, ...)