mirror of
https://github.com/anope/anope.git
synced 2026-07-03 06:13:13 +02:00
Replaced anope_SendInvite() with direct call to SendInvite() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1345 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user