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/ircd.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/ircd.c')
-rw-r--r-- | src/ircd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c index a65a99031..dc7ce142d 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -63,7 +63,6 @@ void initIrcdProto() ircdproto.ircd_cmd_242 = NULL; ircdproto.ircd_cmd_243 = NULL; ircdproto.ircd_cmd_211 = NULL; - ircdproto.ircd_cmd_chg_nick = NULL; ircdproto.ircd_cmd_svsnick = NULL; ircdproto.ircd_cmd_vhost_on = NULL; ircdproto.ircd_cmd_connect = NULL; @@ -481,7 +480,7 @@ void anope_cmd_svso(const char *source, const char *nick, const char *flag) void anope_cmd_chg_nick(const char *oldnick, const char *newnick) { - ircdproto.ircd_cmd_chg_nick(oldnick, newnick); + ircdprotonew->cmd_chg_nick(oldnick, newnick); } void anope_cmd_svsnick(const char *source, const char *guest, time_t when) @@ -709,11 +708,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_chg_nick(void (*func) (const char *oldnick, const char *newnick)) -{ - ircdproto.ircd_cmd_chg_nick = func; -} - void pmodule_cmd_svsnick(void (*func) (const char *source, const char *guest, time_t when)) { |