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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user