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 | 2715c7e038b76284d5e7cfc1d794f7ed6b9e854a (patch) | |
| tree | 7e9488314382d428a1ecdffce6928591d81d6672 /src/ircd.c | |
| parent | 4fc8f14f19c9d7c70d5272078ccab47945c8064f (diff) | |
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
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 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; |
