From 45e3be08fc1ddf8e747659ace359d7b98ea10232 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 17:55:06 +0000 Subject: Replaced anope_SendVhostDel() with direct call to SendVhostDel() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1324 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/hs_off.c | 6 +++--- src/ircd.c | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/core/hs_off.c b/src/core/hs_off.c index c8d331a02..40e2c324a 100644 --- a/src/core/hs_off.c +++ b/src/core/hs_off.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -76,7 +76,7 @@ int do_off(User * u) if (vhost == NULL && vident == NULL) notice_lang(s_HostServ, u, HOST_NOT_ASSIGNED); else - anope_SendVhostDel(u); + ircdproto->SendVhostDel(u); } else { notice_lang(s_HostServ, u, HOST_ID); } diff --git a/src/ircd.c b/src/ircd.c index 5894b86c4..953053f2f 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av) ircdproto->ProcessUsermodes(user, ac, av); } -void anope_SendVhostDel(User *u) -{ - ircdproto->SendVhostDel(u); -} - void anope_SendAkill(const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason) { ircdproto->SendAkill(user, host, who, when, expires, reason); -- cgit