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:56:14 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:56:14 +0000
commit6ba871c953bb7f7f21c8e9e1bf74ef9982dabf81 (patch)
treec7e8a52ace7d8daba2874acc4ad99526e9e33a9b /src
parent9c685cd1d5c0e81555a39fd67bb472decbf78096 (diff)
Replaced anope_SendSZLine() with direct call to SendSZLine() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1360 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/ircd.c5
-rw-r--r--src/operserv.c4
2 files changed, 2 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 1bddd6458..896b9ffac 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_SendSZLine(const char *mask, const char *reason, const char *whom)
-{
- ircdproto->SendSZLine(mask, reason, whom);
-}
-
void anope_SendSGLine(const char *mask, const char *reason)
{
ircdproto->SendSGLine(mask, reason);
diff --git a/src/operserv.c b/src/operserv.c
index 88b31264e..88db0e55e 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1430,7 +1430,7 @@ int add_szline(User * u, char *mask, const char *by, const time_t expires,
entry->expires = expires;
slist_add(&szlines, entry);
- anope_SendSZLine(entry->mask, entry->reason, entry->by);
+ ircdproto->SendSZLine(entry->mask, entry->reason, entry->by);
return deleted;
}
@@ -1456,7 +1456,7 @@ int check_szline(const char *nick, char *ip)
}
if (match_wild_nocase(sx->mask, ip)) {
- anope_SendSZLine(sx->mask, sx->reason, sx->by);
+ ircdproto->SendSZLine(sx->mask, sx->reason, sx->by);
return 1;
}
}