From b78420a0ee3ab0ff212a2f77778a9ed8e66f6338 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 21:57:58 +0000 Subject: Replaced anope_SendBanDel() with direct call to SendBanDel() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1362 5417fbe8-f217-4b02-8779-1006273d7864 --- src/actions.c | 2 +- src/ircd.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/actions.c b/src/actions.c index 93613c102..92d70f76e 100644 --- a/src/actions.c +++ b/src/actions.c @@ -164,7 +164,7 @@ void common_unban(ChannelInfo * ci, char *nick) ip = str_is_ip(host); if (ircd->svsmode_unban) { - anope_SendBanDel(ci->name, nick); + ircdproto->SendBanDel(ci->name, nick); } else { if (ircdcap->tsmode) { snprintf(buf, BUFSIZE - 1, "%ld", (long int) time(NULL)); diff --git a/src/ircd.c b/src/ircd.c index c7fef6da6..4d55edb6b 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_SendBanDel(const char *name, const char *nick) -{ - ircdproto->SendBanDel(name, nick); -} - void anope_SendSVSMode_chan(const char *name, const char *mode, const char *nick) { ircdproto->SendSVSMode_chan(name, mode, nick); -- cgit