From 2715c7e038b76284d5e7cfc1d794f7ed6b9e854a Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:12 +0000 Subject: Added cmd_vhost_on() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1248 5417fbe8-f217-4b02-8779-1006273d7864 --- src/ircd.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/ircd.c') diff --git a/src/ircd.c b/src/ircd.c index 81aabdcc1..be4adc8c4 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_vhost_on = NULL; ircdproto.ircd_cmd_connect = NULL; ircdproto.ircd_cmd_svshold = NULL; ircdproto.ircd_cmd_release_svshold = NULL; @@ -489,7 +488,7 @@ void anope_cmd_svsnick(const char *source, const char *guest, time_t when) void anope_cmd_vhost_on(const char *nick, const char *vIdent, const char *vhost) { - ircdproto.ircd_cmd_vhost_on(nick, vIdent, vhost); + ircdprotonew->cmd_vhost_on(nick, vIdent, vhost); } void anope_cmd_connect(int servernum) @@ -707,12 +706,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void -pmodule_cmd_vhost_on(void (*func) (const char *nick, const char *vIdent, const char *vhost)) -{ - ircdproto.ircd_cmd_vhost_on = func; -} - void pmodule_cmd_connect(void (*func) (int servernum)) { ircdproto.ircd_cmd_connect = func; -- cgit