1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 14:16:38 +02:00

Replaced anope_SendSQLineDel() with direct call to SendSQLineDel() in IRCDProto class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1344 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 20:18:03 +00:00
parent c3964f7483
commit 809f55f1cc
6 changed files with 7 additions and 13 deletions
-1
View File
@@ -1143,7 +1143,6 @@ E void anope_SendSVSO(const char *source,const char *nick, const char *flag);
E void anope_SendSVSPart(const char *source, const char *nick,const char *chan); /* SVSPART */
E void anope_SendSWhois(const char *source, const char *who, const char *mask); /* SWHOIS */
E void anope_SendSGLineDel(const char *mask); /* UNSGLINE */
E void anope_SendSQLineDel(const char *user); /* UNSQLINE */
E void anope_SendSZLineDel(const char *mask); /* UNSZLINE */
E void anope_SendEOB(); /* EOB - end of burst */
E void anope_cmd_burst(); /* BURST - use eob to send burst 0 */
+2 -2
View File
@@ -267,7 +267,7 @@ int do_bot(User * u)
/* The new nick is really different, so we remove the Q line for
the old nick. */
if (ircd->sqline) {
anope_SendSQLineDel(bi->nick);
ircdproto->SendSQLineDel(bi->nick);
}
/* We check whether user with this nick is online, and kill it if so */
@@ -324,7 +324,7 @@ int do_bot(User * u)
"Quit: Help! I'm being deleted by %s!",
u->nick);
if (ircd->sqline) {
anope_SendSQLineDel(bi->nick);
ircdproto->SendSQLineDel(bi->nick);
}
delete bi;
+1 -1
View File
@@ -104,7 +104,7 @@ int do_drop(User * u)
}
if (ircd->chansqline && (ci->flags & CI_VERBOTEN)) {
anope_SendSQLineDel(ci->name);
ircdproto->SendSQLineDel(ci->name);
}
alog("%s: Channel %s dropped by %s!%s@%s (founder: %s)",
+3 -3
View File
@@ -6,8 +6,8 @@
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -120,7 +120,7 @@ int do_drop(User * u)
notice_lang(s_NickServ, u, READ_ONLY_MODE);
if (ircd->sqline && (na->status & NS_VERBOTEN)) {
anope_SendSQLineDel(na->nick);
ircdproto->SendSQLineDel(na->nick);
}
alog("%s: %s!%s@%s dropped nickname %s (group %s) (e-mail: %s)",
-5
View File
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
void anope_SendSQLineDel(const char *user)
{
ircdproto->SendSQLineDel(user);
}
void anope_SendInvite(const char *source, const char *chan, const char *nick)
{
ircdproto->SendInvite(source, chan, nick);
+1 -1
View File
@@ -1323,7 +1323,7 @@ static void free_sqline_entry(SList * slist, void *item)
SXLine *sx = (SXLine *)item;
/* Remove the SQLINE from all the servers */
anope_SendSQLineDel(sx->mask);
ircdproto->SendSQLineDel(sx->mask);
/* Free the structure */
free(sx->mask);