From 984779a0f3a9e563844f7a4e2b695d1aa2b10c35 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 18:30:56 +0000 Subject: Replaced anope_SendClientIntroduction() with direct call to SendClientIntroduction() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1330 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core') diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 09e9b3860..d15f00dc5 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -164,7 +164,7 @@ int do_bot(User * u) EnforceQlinedNick(nick, s_BotServ); /* We make the bot online, ready to serve */ - anope_SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, + ircdproto->SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, ircd->botserv_bot_mode); notice_lang(s_BotServ, u, BOT_BOT_ADDED, bi->nick, bi->user, @@ -292,14 +292,14 @@ int do_bot(User * u) /* If only the nick changes, we just make the bot change his nick, else we must make it quit and rejoin. We must not forget to set - the Q:Line either (it's otherwise set in anope_SendClientIntroduction) */ + the Q:Line either (it's otherwise set in SendClientIntroduction) */ if (!user) { anope_SendChangeBotNick(oldnick, bi->nick); anope_SendSQLine(bi->nick, "Reserved for services"); } else { anope_SendQuit(oldnick, "Quit: Be right back"); - anope_SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, + ircdproto->SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, ircd->botserv_bot_mode); bi->RejoinAll(); } -- cgit