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 | 54e65d003efff715a71088584443262d5655fb90 (patch) | |
tree | d3d9ea28be9ef1cac9c23936d4646de70821130e /src/protocol/ratbox.c | |
parent | e8cd183ed36a5014ddbd1a44dde8e311bb44f35a (diff) |
Added cmd_chg_nick() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1246 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index 50ac8e85b..eeef40e21 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -1406,16 +1406,6 @@ void ratbox_cmd_svid_umode3(User * u, const char *ts) /* not used */ } -/* NICK <newnick> */ -void ratbox_cmd_chg_nick(const char *oldnick, const char *newnick) -{ - if (!oldnick || !newnick) { - return; - } - - send_cmd(oldnick, "NICK %s", newnick); -} - /* * SVINFO * parv[0] = sender prefix @@ -1590,7 +1580,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(ratbox_cmd_242); pmodule_cmd_243(ratbox_cmd_243); pmodule_cmd_211(ratbox_cmd_211); - pmodule_cmd_chg_nick(ratbox_cmd_chg_nick); pmodule_cmd_svsnick(ratbox_cmd_svsnick); pmodule_cmd_vhost_on(ratbox_cmd_vhost_on); pmodule_cmd_connect(ratbox_cmd_connect); |