summaryrefslogtreecommitdiff
path: root/src/operserv.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:49:02 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:49:02 +0000
commita11aa3e4937301cc22c484594249ddd82e5511bd (patch)
tree51bbf5009c6d22bbfea59ebe53919a4b5bc40ec3 /src/operserv.c
parent55bf54a30532cfeff5bb813617d013761212a64b (diff)
Convert a bunch more protocol stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1308 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/operserv.c')
-rw-r--r--src/operserv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/operserv.c b/src/operserv.c
index e5849423c..90e00f553 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1032,7 +1032,7 @@ int add_sgline(User * u, char *mask, const char *by, const time_t expires,
slist_add(&sglines, entry);
- anope_cmd_sgline(entry->mask, entry->reason);
+ anope_SendSGLine(entry->mask, entry->reason);
if (KillonSGline && !ircd->sglineenforce) {
snprintf(buf, (BUFSIZE - 1), "G-Lined: %s", entry->reason);
@@ -1066,7 +1066,7 @@ int check_sgline(const char *nick, const char *realname)
continue;
if (match_wild_nocase(sx->mask, realname)) {
- anope_cmd_sgline(sx->mask, sx->reason);
+ anope_SendSGLine(sx->mask, sx->reason);
/* We kill nick since s_sgline can't */
anope_SendSVSKill(ServerName, nick, "G-Lined: %s", sx->reason);
return 1;
@@ -1102,7 +1102,7 @@ static void free_sgline_entry(SList * slist, void *item)
SXLine *sx = (SXLine *)item;
/* Remove the SGLINE from all the servers */
- anope_cmd_unsgline(sx->mask);
+ anope_SendSGLineDel(sx->mask);
/* Free the structure */
free(sx->mask);
@@ -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_cmd_szline(entry->mask, entry->reason, entry->by);
+ anope_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_cmd_szline(sx->mask, sx->reason, sx->by);
+ anope_SendSZLine(sx->mask, sx->reason, sx->by);
return 1;
}
}
@@ -1491,7 +1491,7 @@ static void free_szline_entry(SList * slist, void *item)
SXLine *sx = (SXLine *)item;
/* Remove the SZLINE from all the servers */
- anope_cmd_unszline(sx->mask);
+ anope_SendSZLineDel(sx->mask);
/* Free the structure */
free(sx->mask);