1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 10:03:14 +02:00

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
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 21:56:14 +00:00
parent 9c685cd1d5
commit 6ba871c953
3 changed files with 2 additions and 8 deletions
-1
View File
@@ -1122,7 +1122,6 @@ E void anope_cmd_netinfo(int ac, const char **av); /* NETINFO */
E void anope_cmd_pass(const char *pass); /* PASS */
E void anope_cmd_protoctl(); /* PROTOCTL */
E void anope_SendSGLine(const char *mask, const char *reason); /* SGLINE */
E void anope_SendSZLine(const char *mask, const char *reason, const char *whom); /* SZLINE */
E void anope_cmd_svinfo(); /* SVINFO */
E void anope_cmd_svsadmin(const char *server, int set); /* SVSADMIN */
E void anope_cmd_svsinfo(); /* SVSINFO */
-5
View File
@@ -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);
+2 -2
View File
@@ -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;
}
}