summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:10 +0000
commitc08993be094b5d0427985bee46e4d9d0d2ffbe56 (patch)
treec22c2b0cef6df836c93b6ba82f85f686dcd65bf4 /src/ircd.c
parentcef2f72082b3ac4d8ebd5795e27fa986db422a33 (diff)
Added cmd_vhost_off() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1210 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c
index f020f81b1..005b7b29b 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -46,7 +46,6 @@ void initIrcdProto()
{
ircdproto.ircd_set_mod_current_buffer = NULL;
ircdproto.ircd_set_umode = NULL;
- ircdproto.ircd_cmd_vhost_off = NULL;
ircdproto.ircd_cmd_akill = NULL;
ircdproto.ircd_cmd_svskill = NULL;
ircdproto.ircd_cmd_svsmode = NULL;
@@ -147,9 +146,9 @@ void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit
ircdprotonew->cmd_topic(whosets, chan, whosetit, topic, when);
}
-void anope_cmd_vhost_off(User * u)
+void anope_cmd_vhost_off(User *u)
{
- ircdproto.ircd_cmd_vhost_off(u);
+ ircdprotonew->cmd_vhost_off(u);
}
void anope_cmd_akill(const char *user, const char *host, const char *who, time_t when,
@@ -688,11 +687,6 @@ void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av))
ircdproto.ircd_set_mod_current_buffer = func;
}
-void pmodule_cmd_vhost_off(void (*func) (User * u))
-{
- ircdproto.ircd_cmd_vhost_off = func;
-}
-
void pmodule_cmd_akill(void (*func)
(const char *user, const char *host, const char *who, time_t when,
time_t expires, const char *reason))