summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-03 22:30:33 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-03 22:30:33 +0000
commit16a90d28f61707b2f053b163e33c6678bd861971 (patch)
treea67784e553135ab1a519ff5ee685a07702f4573a /src/core
parentdc44944c713d5d19a7d6e7fa443dde03fe4d9832 (diff)
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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bs_bot.c4
1 files changed, 2 insertions, 2 deletions
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();
}