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/ircd.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/ircd.c')
-rw-r--r-- | src/ircd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index dc7ce142d..81aabdcc1 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_svsnick = NULL; ircdproto.ircd_cmd_vhost_on = NULL; ircdproto.ircd_cmd_connect = NULL; ircdproto.ircd_cmd_svshold = NULL; @@ -485,7 +484,7 @@ void anope_cmd_chg_nick(const char *oldnick, const char *newnick) void anope_cmd_svsnick(const char *source, const char *guest, time_t when) { - ircdproto.ircd_cmd_svsnick(source, guest, when); + ircdprotonew->cmd_svsnick(source, guest, when); } void anope_cmd_vhost_on(const char *nick, const char *vIdent, const char *vhost) @@ -709,12 +708,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) } void -pmodule_cmd_svsnick(void (*func) (const char *source, const char *guest, time_t when)) -{ - ircdproto.ircd_cmd_svsnick = func; -} - -void pmodule_cmd_vhost_on(void (*func) (const char *nick, const char *vIdent, const char *vhost)) { ircdproto.ircd_cmd_vhost_on = func; |