summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 20:26:29 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 20:26:29 +0000
commitde32f2b192aed5e5daceb118739ce9da91bb0403 (patch)
tree1d70d86612655a97b0465dc3555ad42fc1cd4c45 /src
parent809f55f1cc366eb6ab8882fcb7a7a2869fa55d23 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/cs_invite.c6
-rw-r--r--src/ircd.c5
2 files changed, 3 insertions, 8 deletions
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) {