diff --git a/include/extern.h b/include/extern.h index 81c9ddcc9..376a144ec 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1119,7 +1119,6 @@ E void anope_SendVhost(const char *nick, const char *vIdent, const char *vhost); E void anope_SendConnect(); /* Connect */ E void anope_cmd_ea(); /* EA */ E void anope_SendGlobops(const char *source, const char *fmt, ...); /* GLOBOPS */ -E void anope_SendInvite(const char *source, const char *chan, const char *nick); /* INVITE */ 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 */ E void anope_cmd_netinfo(int ac, const char **av); /* NETINFO */ diff --git a/src/core/cs_invite.c b/src/core/cs_invite.c index 5e538d791..d37f6087b 100644 --- a/src/core/cs_invite.c +++ b/src/core/cs_invite.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$ * */ @@ -84,7 +84,7 @@ int do_invite(User * u) } else if (!u || !check_access(u, ci, CA_INVITE)) { notice_lang(s_ChanServ, u, PERMISSION_DENIED); } else { - anope_SendInvite(whosends(ci), chan, u->nick); + ircdproto->SendInvite(whosends(ci), chan, u->nick); } return MOD_CONT; } diff --git a/src/ircd.c b/src/ircd.c index 7fb04d41e..14d099b1c 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_SendInvite(const char *source, const char *chan, const char *nick) -{ - ircdproto->SendInvite(source, chan, nick); -} - void anope_SendPart(const char *nick, const char *chan, const char *fmt, ...) { if (fmt) {