1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 05:43:13 +02:00

Replaced anope_SendSVSMode_chan() with direct call to SendSVSModeChan() in IRCDProto class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1363 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 22:01:18 +00:00
parent b78420a0ee
commit 6395adff79
9 changed files with 19 additions and 25 deletions
+2 -2
View File
@@ -474,13 +474,13 @@ void BahamutIRCdProto::SendSVSHoldDel(const char *nick)
/* SVSMODE -b */
void BahamutIRCdProto::SendBanDel(const char *name, const char *nick)
{
SendSVSMode_chan(name, "-b", nick);
SendSVSModeChan(name, "-b", nick);
}
/* SVSMODE channel modes */
void BahamutIRCdProto::SendSVSMode_chan(const char *name, const char *mode, const char *nick)
void BahamutIRCdProto::SendSVSModeChan(const char *name, const char *mode, const char *nick)
{
if (nick) send_cmd(ServerName, "SVSMODE %s %s %s", name, mode, nick);
else send_cmd(ServerName, "SVSMODE %s %s", name, mode);
+1 -1
View File
@@ -83,7 +83,7 @@ class BahamutIRCdProto : public IRCDProto {
void SendSZLine(const char *, const char *, const char *);
void SendSGLine(const char *, const char *);
void SendBanDel(const char *, const char *);
void SendSVSMode_chan(const char *, const char *, const char *);
void SendSVSModeChan(const char *, const char *, const char *);
void SendSVID(const char *, time_t);
void SendUnregisteredNick(User *);
void SendSVID3(User *, const char *);
+2 -2
View File
@@ -1165,13 +1165,13 @@ void UnrealIRCdProto::SendSGLine(const char *mask, const char *reason)
/* SVSMODE -b */
void UnrealIRCdProto::SendBanDel(const char *name, const char *nick)
{
SendSVSMode_chan(name, "-b", nick);
SendSVSModeChan(name, "-b", nick);
}
/* SVSMODE channel modes */
void UnrealIRCdProto::SendSVSMode_chan(const char *name, const char *mode, const char *nick)
void UnrealIRCdProto::SendSVSModeChan(const char *name, const char *mode, const char *nick)
{
if (nick) send_cmd(ServerName, "%s %s %s %s", send_token("SVSMODE", "n"), name, mode, nick);
else send_cmd(ServerName, "%s %s %s", send_token("SVSMODE", "n"), name, mode);
+1 -1
View File
@@ -109,7 +109,7 @@ class UnrealIRCdProto : public IRCDProto {
void SendSZLine(const char *, const char *, const char *);
void SendSGLine(const char *, const char *);
void SendBanDel(const char *, const char *);
void SendSVSMode_chan(const char *, const char *, const char *);
void SendSVSModeChan(const char *, const char *, const char *);
void SendSVID(const char *, time_t);
void SendUnregisteredNick(User *);
void SendSVID2(User *, const char *);