diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 17:55:06 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 17:55:06 +0000 |
commit | 45e3be08fc1ddf8e747659ace359d7b98ea10232 (patch) | |
tree | f20bc89d151817e14010f383c06fe7ad562a39be /src | |
parent | 95f24091f65943c69617bc462ee2175b8cfe257f (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hs_off.c | 6 | ||||
-rw-r--r-- | src/ircd.c | 5 |
2 files changed, 3 insertions, 8 deletions
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); |