diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | 4fc8f14f19c9d7c70d5272078ccab47945c8064f (patch) | |
tree | c980686e84223b4dac7492f28cf2daf6a42012cf /src/protocol/unreal32.c | |
parent | 54e65d003efff715a71088584443262d5655fb90 (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/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index a00e9059d..c06a09f4a 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -890,22 +890,6 @@ void UnrealIRCdProto::cmd_chg_nick(const char *oldnick, const char *newnick) send_cmd(oldnick, "%s %s %ld", send_token("NICK", "&"), newnick, static_cast<long>(time(NULL))); } -/* SVSNICK */ -/* -** parv[0] = sender -** parv[1] = old nickname -** parv[2] = new nickname -** parv[3] = timestamp -*/ -void unreal_cmd_svsnick(const char *source, const char *guest, time_t when) -{ - if (!source || !guest) { - return; - } - send_cmd(NULL, "%s %s %s :%ld", send_token("SVSNICK", "e"), source, - guest, (long int) when); -} - /* Functions that use serval cmd functions */ void unreal_cmd_vhost_on(const char *nick, const char *vIdent, const char *vhost) @@ -1972,7 +1956,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(unreal_cmd_242); pmodule_cmd_243(unreal_cmd_243); pmodule_cmd_211(unreal_cmd_211); - pmodule_cmd_svsnick(unreal_cmd_svsnick); pmodule_cmd_vhost_on(unreal_cmd_vhost_on); pmodule_cmd_connect(unreal_cmd_connect); pmodule_cmd_svshold(unreal_cmd_svshold); |