summaryrefslogtreecommitdiff
path: root/src/core/bs_bot.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-03 23:29:39 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-03 23:29:39 +0000
commitbcff05ae3a9890d2fd93a9118e40c9d3c9bfd54d (patch)
tree4bca5e4e4a45c115d3e8dc6b9e8795827c61c366 /src/core/bs_bot.c
parent667cf5f30f4de17bb33d07fc4aa1f9e235fd8961 (diff)
Consolidate modes: we really don't need to have a different one for every pseudoclient.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1531 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/bs_bot.c')
-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 e518315f5..0a69cc971 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, bi->uid.c_str());
+ ircd->pseudoclient_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, bi->uid.c_str());
+ ircd->pseudoclient_mode, bi->uid.c_str());
bi->RejoinAll();
}