diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:46:00 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:46:00 +0000 |
commit | cd038ecb7a43912969e0199cb373f4c4eb1d7b43 (patch) | |
tree | 10de5fb5cd91b7ddda35cab52febc4e86306fb75 | |
parent | 088c82ba1dc8965989ac308787044de976d90f96 (diff) |
Replaced anope_SendConnect() with direct call to SendConnect() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1355 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | src/init.c | 2 | ||||
-rw-r--r-- | src/ircd.c | 5 |
3 files changed, 1 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index 7f8b58eac..4d51988ac 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_SendConnect(); /* Connect */ E void anope_cmd_ea(); /* EA */ E void anope_cmd_tmode(const char *source, const char *dest, const char *fmt, ...); /* TMODE */ E void anope_SendBanDel(const char *name, const char *nick); /* MODE -b */ diff --git a/src/init.c b/src/init.c index 2fc6f03de..9cb1834ce 100644 --- a/src/init.c +++ b/src/init.c @@ -712,7 +712,7 @@ int init_secondary(int ac, char **av) RemotePort); } - anope_SendConnect(); + ircdproto->SendConnect(); send_event(EVENT_CONNECT, 1, EVENT_STOP); sgets2(inbuf, sizeof(inbuf), servsock); diff --git a/src/ircd.c b/src/ircd.c index eefd9492f..81eea249e 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_SendConnect() -{ - ircdproto->SendConnect(); -} - void anope_SendSVSHOLD(const char *nick) { ircdproto->SendSVSHOLD(nick); |