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 21:57:58 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:57:58 +0000
commitb78420a0ee3ab0ff212a2f77778a9ed8e66f6338 (patch)
treef3b5ba40f05d8ef7aa34d2b9ab9e0fc8451b519e /src
parent1b6c423898e430728eb46ef796a2aa10e1248a1b (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/actions.c2
-rw-r--r--src/ircd.c5
2 files changed, 1 insertions, 6 deletions
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);