mirror of
https://github.com/anope/anope.git
synced 2026-07-01 08:16:39 +02:00
Replaced anope_SendAkillDel() with direct call to SendAkillDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1322 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1147,7 +1147,6 @@ E void anope_cmd_action(const char *source, const char *dest, const char *fmt, .
|
||||
E void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg); /* PRIVMSG */
|
||||
E void anope_cmd_protoctl(); /* PROTOCTL */
|
||||
E void anope_SendQuit(const char *source, const char *fmt, ...); /* QUIT */
|
||||
E void anope_SendAkillDel(const char *user, const char *host); /* RAKILL */
|
||||
E void anope_SendSGLine(const char *mask, const char *reason); /* SGLINE */
|
||||
E void anope_SendSQLine(const char *mask, const char *reason); /* SQLINE */
|
||||
E void anope_SendSZLine(const char *mask, const char *reason, const char *whom); /* SZLINE */
|
||||
|
||||
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
|
||||
ircdproto->ProcessUsermodes(user, ac, av);
|
||||
}
|
||||
|
||||
void anope_SendAkillDel(const char *user, const char *host)
|
||||
{
|
||||
ircdproto->SendAkillDel(user, host);
|
||||
}
|
||||
|
||||
void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when)
|
||||
{
|
||||
BotInfo *bi = findbot(whosets);
|
||||
|
||||
+3
-3
@@ -205,7 +205,7 @@ static void load_old_akill(void)
|
||||
|
||||
/* No nicknames allowed! */
|
||||
if (strchr(ak->user, '!')) {
|
||||
anope_SendAkillDel(ak->user, ak->host);
|
||||
ircdproto->SendAkillDel(ak->user, ak->host);
|
||||
free(ak);
|
||||
continue;
|
||||
}
|
||||
@@ -241,7 +241,7 @@ static void load_old_akill(void)
|
||||
if (match_wild_nocase(amask, mask2)
|
||||
&& (entry->expires >= ak->expires
|
||||
|| entry->expires == 0)) {
|
||||
anope_SendAkillDel(ak->user, ak->host);
|
||||
ircdproto->SendAkillDel(ak->user, ak->host);
|
||||
free(ak);
|
||||
ak = NULL;
|
||||
break;
|
||||
@@ -914,7 +914,7 @@ static void free_akill_entry(SList * slist, void *item)
|
||||
Akill *ak = (Akill *)item;
|
||||
|
||||
/* Remove the AKILLs from all the servers */
|
||||
anope_SendAkillDel(ak->user, ak->host);
|
||||
ircdproto->SendAkillDel(ak->user, ak->host);
|
||||
|
||||
/* Free the structure */
|
||||
free(ak->user);
|
||||
|
||||
Reference in New Issue
Block a user