summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:41:30 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:41:30 +0000
commit088c82ba1dc8965989ac308787044de976d90f96 (patch)
tree40920abc224b12c1aa8e32875ff09f4619535d47 /src
parent6705f0a90d5d041bdd11574f3626c68f99b04b76 (diff)
Replaced anope_SendVhost() with direct call to SendVhost() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1354 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/core/hs_on.c6
-rw-r--r--src/hostserv.c2
-rw-r--r--src/ircd.c5
3 files changed, 4 insertions, 9 deletions
diff --git a/src/core/hs_on.c b/src/core/hs_on.c
index 0d71ee768..6b12fd8f5 100644
--- a/src/core/hs_on.c
+++ b/src/core/hs_on.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$
*
*/
@@ -82,7 +82,7 @@ int do_on(User * u)
} else {
notice_lang(s_HostServ, u, HOST_ACTIVATED, vHost);
}
- anope_SendVhost(u->nick, vIdent, vHost);
+ ircdproto->SendVhost(u->nick, vIdent, vHost);
if (ircd->vhost) {
u->vhost = sstrdup(vHost);
}
diff --git a/src/hostserv.c b/src/hostserv.c
index ac42fd8ae..d1cf68a21 100644
--- a/src/hostserv.c
+++ b/src/hostserv.c
@@ -562,7 +562,7 @@ int do_on_id(User * u)
} else {
notice_lang(s_HostServ, u, HOST_ACTIVATED, vHost);
}
- anope_SendVhost(u->nick, vIdent, vHost);
+ ircdproto->SendVhost(u->nick, vIdent, vHost);
if (ircd->vhost) {
u->vhost = sstrdup(vHost);
}
diff --git a/src/ircd.c b/src/ircd.c
index 7f00e50e8..eefd9492f 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_SendVhost(const char *nick, const char *vIdent, const char *vhost)
-{
- ircdproto->SendVhost(nick, vIdent, vhost);
-}
-
void anope_SendConnect()
{
ircdproto->SendConnect();