summaryrefslogtreecommitdiff
path: root/src/botserv.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:39:28 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:39:28 +0000
commit809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 (patch)
tree867a1c3ddb9ab32dde2449b1632d2f4f772c6285 /src/botserv.c
parentbd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 (diff)
Convert various to new name scheme.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
-rw-r--r--src/botserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/botserv.c b/src/botserv.c
index b1686fcdc..8d529af0e 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -491,7 +491,7 @@ void load_bs_dbase(void)
restore_db(f); \
log_perror("Write error on %s", BotDBName); \
if (time(NULL) - lastwarn > WarningTimeout) { \
- anope_cmd_global(NULL, "Write error on %s: %s", BotDBName, \
+ anope_SendGlobops(NULL, "Write error on %s: %s", BotDBName, \
strerror(errno)); \
lastwarn = time(NULL); \
} \
@@ -750,7 +750,7 @@ void bot_join(ChannelInfo * ci)
"%s invited %s into the channel.",
ci->bi->nick, ci->bi->nick);
}
- anope_cmd_join(ci->bi->nick, ci->c->name, ci->c->creation_time);
+ anope_SendJoin(ci->bi->nick, ci->c->name, ci->c->creation_time);
anope_SendBotOp(ci->bi->nick, ci->c->name);
send_event(EVENT_BOT_JOIN, 2, ci->name, ci->bi->nick);
}