summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 23:14:30 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 23:14:30 +0000
commitbd4b99386bcf9846b8375e658b70eea3f19770c3 (patch)
tree1a6f8fbfaafb4154ddce09da776a4558d1b7ec61 /src
parent0d7ccde197f075d684ef699cfde38bec51146ce8 (diff)
Make ircd.c compile for real.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1374 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-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, ...)