diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:26:56 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:26:56 +0000 |
commit | 0ded22502384bd69c45fbc2ecd9d99172ff51910 (patch) | |
tree | ccb656e76d66ea2c46125231daf95a8dff52a9f6 /src/protocol/ratbox.c | |
parent | a29d23a06e3ba98c793cffecae1bf682f251178d (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/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index 7e2e97878..3ddadc07d 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -913,7 +913,7 @@ void RatboxProto::SendNumeric(const char *source, int numeric, const char *dest, send_cmd(UseTS6 ? TS6SID : source, "%03d %s %s", numeric, dest, buf); } -void RatboxProto::SendMode(const char *source, const char *dest, const char *buf) +void RatboxProto::SendModeInternal(const char *source, const char *dest, const char *buf) { if (!buf) return; if (source) { @@ -961,7 +961,7 @@ void RatboxProto::SendBotOp(const char *nick, const char *chan) Uid *u = find_uid(nick); ratbox_cmd_tmode(nick, chan, "%s %s", ircd->botchanumode, u ? u->uid : nick); } - else anope_SendMode(nick, chan, "%s %s", ircd->botchanumode, nick); + else SendMode(nick, chan, "%s %s", ircd->botchanumode, nick); } /* QUIT */ |