summaryrefslogtreecommitdiff
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
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
-rw-r--r--include/extern.h1
-rw-r--r--src/core/hs_on.c6
-rw-r--r--src/hostserv.c2
-rw-r--r--src/ircd.c5
4 files changed, 4 insertions, 10 deletions
diff --git a/include/extern.h b/include/extern.h
index e5a0d1d8b..7f8b58eac 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1115,7 +1115,6 @@ E unsigned int mysql_rand(void);
E void anope_cmd_capab(); /* CAPAB */
E void anope_cmd_chghost(const char *nick, const char *vhost); /* CHGHOST */
E void anope_cmd_chgident(const char *nick, const char *vIdent); /* CHGIDENT */
-E void anope_SendVhost(const char *nick, const char *vIdent, const char *vhost); /* CHGHOST + CHGIDENT */
E void anope_SendConnect(); /* Connect */
E void anope_cmd_ea(); /* EA */
E void anope_cmd_tmode(const char *source, const char *dest, const char *fmt, ...); /* TMODE */
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();