From 16a90d28f61707b2f053b163e33c6678bd861971 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Mon, 3 Nov 2008 22:30:33 +0000 Subject: Undo me smoking a nice pipe of craq on UID support (no wonder this wasn't working), and fix findbot() to do what we want. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1524 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index d56f93539..e518315f5 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -165,7 +165,7 @@ int do_bot(User * u) /* We make the bot online, ready to serve */ ircdproto->SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, - ircd->botserv_bot_mode); + ircd->botserv_bot_mode, bi->uid.c_str()); notice_lang(s_BotServ, u, BOT_BOT_ADDED, bi->nick, bi->user, bi->host, bi->real); @@ -300,7 +300,7 @@ int do_bot(User * u) ircdproto->SendQuit(bi, "Quit: Be right back"); ircdproto->SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, - ircd->botserv_bot_mode); + ircd->botserv_bot_mode, bi->uid.c_str()); bi->RejoinAll(); } -- cgit