summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:26:56 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 18:26:56 +0000
commit0ded22502384bd69c45fbc2ecd9d99172ff51910 (patch)
treeccb656e76d66ea2c46125231daf95a8dff52a9f6 /src/protocol/unreal32.c
parenta29d23a06e3ba98c793cffecae1bf682f251178d (diff)
Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 05aaeeafa..abe62c665 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -542,7 +542,7 @@ void UnrealIRCdProto::SendGuestNick(const char *nick, const char *user, const ch
myIrcd->nickip ? " *" : " ", real);
}
-void UnrealIRCdProto::SendMode(const char *source, const char *dest, const char *buf)
+void UnrealIRCdProto::SendModeInternal(const char *source, const char *dest, const char *buf)
{
if (!buf) return;
send_cmd(source, "%s %s %s", send_token("MODE", "G"), dest, buf);
@@ -571,7 +571,7 @@ void UnrealIRCdProto::SendNoticeChanops(const char *source, const char *dest, co
void UnrealIRCdProto::SendBotOp(const char *nick, const char *chan)
{
- anope_SendMode(nick, chan, "%s %s %s", myIrcd->botchanumode, nick, nick);
+ SendMode(nick, chan, "%s %s %s", myIrcd->botchanumode, nick, nick);
}
/* PROTOCTL */