summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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();