mirror of
https://github.com/anope/anope.git
synced 2026-06-30 10:56:38 +02:00
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
This commit is contained in:
@@ -1123,7 +1123,6 @@ E void anope_SendInvite(const char *source, const char *chan, const char *nick);
|
||||
E void anope_SendJoin(const char *user, const char *channel, time_t chantime); /* JOIN */
|
||||
E void anope_cmd_tmode(const char *source, const char *dest, const char *fmt, ...); /* TMODE */
|
||||
E void anope_SendBanDel(const char *name, const char *nick); /* MODE -b */
|
||||
E void anope_SendBotOp(const char *nick, const char *chan); /* MODE BotServ */
|
||||
E void anope_cmd_netinfo(int ac, const char **av); /* NETINFO */
|
||||
E void anope_SendChangeBotNick(const char *oldnick, const char *newnick); /* NICK */
|
||||
E void anope_SendPart(const char *nick, const char *chan, const char *fmt, ...); /* PART */
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user