summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal32.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2011-01-04 07:14:50 +0100
committerDukePyrolator <DukePyrolator@anope.org>2011-01-04 07:14:50 +0100
commit03ba592c4874f41844d871e69e5ebcd65ed1c0c8 (patch)
tree28706c6d0512162873a7be8a2a8092a0b4a6a0fb /modules/protocol/unreal32.cpp
parent57a06f72e231d8848393c8ba3bb4034a332bac4f (diff)
removed SendSVSMode(), we dont use it
Diffstat (limited to 'modules/protocol/unreal32.cpp')
-rw-r--r--modules/protocol/unreal32.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/protocol/unreal32.cpp b/modules/protocol/unreal32.cpp
index cc4fc23df..4ec41d210 100644
--- a/modules/protocol/unreal32.cpp
+++ b/modules/protocol/unreal32.cpp
@@ -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