1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 08:16:39 +02:00

Replaced anope_SendSVSHoldDel() with direct call to SendSVSHoldDel() in IRCDProto class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1357 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 21:53:20 +00:00
parent c275bdf6f7
commit 77af53f647
12 changed files with 10 additions and 16 deletions
-1
View File
@@ -1125,7 +1125,6 @@ E void anope_SendSGLine(const char *mask, const char *reason); /* SGL
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_SendSVSHOLDDel(const char *nick); /* SVSHOLD */
E void anope_cmd_svsinfo(); /* SVSINFO */
E void anope_SendSVSJoin(const char *source, const char *nick,const char *chan, const char *param); /* SVSJOIN */
E void anope_SendSVSMode_chan(const char *name, const char *mode, const char *nick); /* SVSMODE */
+1 -1
View File
@@ -1446,7 +1446,7 @@ class IRCDProto {
virtual void SendVhost(const char *, const char *, const char *) { }
virtual void SendConnect() = 0;
virtual void SendSVSHold(const char *) { }
virtual void SendSVSHOLDDel(const char *) { }
virtual void SendSVSHoldDel(const char *) { }
virtual void SendSGLineDel(const char *) { }
virtual void SendSZLineDel(const char *) { }
virtual void SendSZLine(const char *, const char *, const char *) { }
-5
View File
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
void anope_SendSVSHOLDDel(const char *nick)
{
ircdproto->SendSVSHOLDDel(nick);
}
void anope_SendSGLineDel(const char *mask)
{
ircdproto->SendSGLineDel(mask);
+1 -1
View File
@@ -1574,7 +1574,7 @@ void release(NickAlias * na, int from_timeout)
del_ns_timeout(na, TO_RELEASE);
if (ircd->svshold) {
if (UseSVSHOLD) {
anope_SendSVSHOLDDel(na->nick);
ircdproto->SendSVSHoldDel(na->nick);
} else {
ircdproto->SendQuit(na->nick, NULL);
}
+1 -1
View File
@@ -466,7 +466,7 @@ void BahamutIRCdProto::SendSVSHold(const char *nick)
}
/* SVSHOLD - release */
void BahamutIRCdProto::SendSVSHOLDDel(const char *nick)
void BahamutIRCdProto::SendSVSHoldDel(const char *nick)
{
send_cmd(ServerName, "SVSHOLD %s 0", nick);
}
+1 -1
View File
@@ -77,7 +77,7 @@ class BahamutIRCdProto : public IRCDProto {
void SendSQLine(const char *, const char *);
void SendConnect();
void SendSVSHold(const char *);
void SendSVSHOLDDel(const char *);
void SendSVSHoldDel(const char *);
void SendSGLineDel(const char *);
void SendSZLineDel(const char *);
void SendSZLine(const char *, const char *, const char *);
+1 -1
View File
@@ -1132,7 +1132,7 @@ void CharybdisProto::SendSVSHold(const char *nick)
}
/* SVSHOLD - release */
void CharybdisProto::SendSVSHOLDDel(const char *nick)
void CharybdisProto::SendSVSHoldDel(const char *nick)
{
send_cmd(NULL, "ENCAP * NICKDELAY 0 %s", nick);
}
+1 -1
View File
@@ -70,7 +70,7 @@ class CharybdisProto : public IRCDTS6Proto {
void SendVhost(const char *, const char *, const char *);
void SendConnect();
void SendSVSHold(const char *);
void SendSVSHOLDDel(const char *);
void SendSVSHoldDel(const char *);
void SendSGLineDel(const char *);
void SendSGLine(const char *, const char *);
void SendServer(const char *, int, const char *);
+1 -1
View File
@@ -1274,7 +1274,7 @@ void InspIRCdProto::SendSVSHold(const char *nick)
}
/* SVSHOLD - release */
void InspIRCdProto::SendSVSHOLDDel(const char *nick)
void InspIRCdProto::SendSVSHoldDel(const char *nick)
{
send_cmd(s_OperServ, "SVSHOLD %s", nick);
}
+1 -1
View File
@@ -72,7 +72,7 @@ class InspIRCdProto : public IRCDProto {
void SendVhost(const char *, const char *, const char *);
void SendConnect();
void SendSVSHold(const char *);
void SendSVSHOLDDel(const char *);
void SendSVSHoldDel(const char *);
void SendSZLineDel(const char *);
void SendSZLine(const char *, const char *, const char *);
void SendUnregisteredNick(User *);
+1 -1
View File
@@ -1124,7 +1124,7 @@ void UnrealIRCdProto::SendSVSHold(const char *nick)
}
/* SVSHOLD - release */
void UnrealIRCdProto::SendSVSHOLDDel(const char *nick)
void UnrealIRCdProto::SendSVSHoldDel(const char *nick)
{
send_cmd(NULL, "%s - Q * %s %s", send_token("TKL", "BD"), nick, ServerName);
}
+1 -1
View File
@@ -103,7 +103,7 @@ class UnrealIRCdProto : public IRCDProto {
void SendVhost(const char *, const char *, const char *);
void SendConnect();
void SendSVSHold(const char *);
void SendSVSHOLDDel(const char *);
void SendSVSHoldDel(const char *);
void SendSGLineDel(const char *);
void SendSZLineDel(const char *);
void SendSZLine(const char *, const char *, const char *);