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

removed SendSVSMode(), we dont use it

This commit is contained in:
DukePyrolator
2011-01-04 07:14:50 +01:00
parent 57a06f72e2
commit 03ba592c48
7 changed files with 0 additions and 70 deletions
-27
View File
@@ -127,23 +127,6 @@ class UnrealIRCdProto : public IRCDProto
send_cmd(source ? source->nick : Config->ServerName, "h %s :%s", user->nick.c_str(), buf.c_str());
}
/*
* m_svsmode() added by taz
* parv[0] - sender
* parv[1] - username to change mode for
* parv[2] - modes to change
* parv[3] - Service Stamp (if mode == d)
*/
void SendSVSMode(const User *u, int ac, const char **av)
{
if (ac >= 1)
{
if (!u || !av[0])
return;
this->SendModeInternal(NULL, u, merge_args(ac, av));
}
}
void SendModeInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf)
{
if (buf.empty())
@@ -300,16 +283,6 @@ class UnrealIRCdProto : public IRCDProto
send_cmd("", "BR + %s :%s", edited_reason.c_str(), x->Mask.c_str());
}
/* SVSMODE channel modes */
void SendSVSModeChan(const Channel *c, const Anope::string &mode, const Anope::string &nick)
{
if (!nick.empty())
send_cmd(Config->ServerName, "n %s %s %s", c->name.c_str(), mode.c_str(), nick.c_str());
else
send_cmd(Config->ServerName, "n %s %s", c->name.c_str(), mode.c_str());
}
/* svsjoin
parv[0] - sender
parv[1] - nick to make join