summaryrefslogtreecommitdiff
path: root/src/protocol/bahamut.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
commit4fc8f14f19c9d7c70d5272078ccab47945c8064f (patch)
treec980686e84223b4dac7492f28cf2daf6a42012cf /src/protocol/bahamut.c
parent54e65d003efff715a71088584443262d5655fb90 (diff)
Added cmd_svsnick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1247 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r--src/protocol/bahamut.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 1122e7af5..dd3e2c130 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -1184,20 +1184,6 @@ void BahamutIRCdProto::cmd_bot_nick(const char *nick, const char *user, const ch
cmd_sqline(nick, "Reserved for services");
}
-/* SVSNICK */
-/* parv[0] = sender
- * parv[1] = old nickname
- * parv[2] = new nickname
- * parv[3] = timestamp
- */
-void bahamut_cmd_svsnick(const char *source, const char *guest, time_t when)
-{
- if (!source || !guest) {
- return;
- }
- send_cmd(NULL, "SVSNICK %s %s :%ld", source, guest, (long int) when);
-}
-
void BahamutIRCdProto::cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
{
send_cmd(NULL, "NICK %s 1 %ld %s %s %s %s 0 0 :%s", nick, static_cast<long>(time(NULL)), modes, user, host, ServerName, real);
@@ -1422,7 +1408,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_242(bahamut_cmd_242);
pmodule_cmd_243(bahamut_cmd_243);
pmodule_cmd_211(bahamut_cmd_211);
- pmodule_cmd_svsnick(bahamut_cmd_svsnick);
pmodule_cmd_vhost_on(bahamut_cmd_vhost_on);
pmodule_cmd_connect(bahamut_cmd_connect);
pmodule_cmd_svshold(bahamut_cmd_svshold);