1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 00:23:14 +02:00

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
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 21:41:30 +00:00
parent 6705f0a90d
commit 088c82ba1d
4 changed files with 4 additions and 10 deletions
-1
View File
@@ -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 */
+3 -3
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
-5
View File
@@ -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();