summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 20:18:03 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 20:18:03 +0000
commit809f55f1cc366eb6ab8882fcb7a7a2869fa55d23 (patch)
tree2b9b0526e4347c900e4075a1457a1a812274ecff
parentc3964f7483b522f4b0b05d4275cbd72d638d489e (diff)
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
-rw-r--r--include/extern.h1
-rw-r--r--src/core/bs_bot.c4
-rw-r--r--src/core/cs_drop.c2
-rw-r--r--src/core/ns_drop.c6
-rw-r--r--src/ircd.c5
-rw-r--r--src/operserv.c2
6 files changed, 7 insertions, 13 deletions
diff --git a/include/extern.h b/include/extern.h
index fd5d111b1..81c9ddcc9 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -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 */
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c
index 901b7af79..a93f2396a 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -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;
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c
index 6ec5ecb37..0b8eab366 100644
--- a/src/core/cs_drop.c
+++ b/src/core/cs_drop.c
@@ -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)",
diff --git a/src/core/ns_drop.c b/src/core/ns_drop.c
index 416ecd58d..a9a78bd42 100644
--- a/src/core/ns_drop.c
+++ b/src/core/ns_drop.c
@@ -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)",
diff --git a/src/ircd.c b/src/ircd.c
index c0f66c7d5..7fb04d41e 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_SendSQLineDel(const char *user)
-{
- ircdproto->SendSQLineDel(user);
-}
-
void anope_SendInvite(const char *source, const char *chan, const char *nick)
{
ircdproto->SendInvite(source, chan, nick);
diff --git a/src/operserv.c b/src/operserv.c
index 7497d72ce..4fcb3fdb9 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -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);