summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:18:40 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:18:40 +0000
commit877791d8b63ee88f4edf9bcd2261a6bbafcde8af (patch)
tree415b85e2343a6c9d289e5164b32a3383b7f5c8e9 /src
parent14ceeafb1d88dd688a9ad428988f29e562dbacf0 (diff)
Replaced anope_SendBotOp() with direct call to SendBotOp() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1340 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/botserv.c2
-rw-r--r--src/ircd.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 9a476fd72..7cb1b535c 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -751,7 +751,7 @@ void bot_join(ChannelInfo * ci)
ci->bi->nick, ci->bi->nick);
}
anope_SendJoin(ci->bi->nick, ci->c->name, ci->c->creation_time);
- anope_SendBotOp(ci->bi->nick, ci->c->name);
+ ircdproto->SendBotOp(ci->bi->nick, ci->c->name);
send_event(EVENT_BOT_JOIN, 2, ci->name, ci->bi->nick);
}
diff --git a/src/ircd.c b/src/ircd.c
index ff6fc51ea..961c2aee1 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
-void anope_SendBotOp(const char *nick, const char *chan)
-{
- ircdproto->SendBotOp(nick, chan);
-}
-
void anope_SendQuit(const char *source, const char *fmt, ...)
{
va_list args;