diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-17 02:10:35 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-17 02:10:35 +0000 |
commit | 861fe9e7b32c8e1e523cc774547e460c9ed67289 (patch) | |
tree | b821f00ef784751ff7c43771175b818fec4645bb /src/protocol.cpp | |
parent | 453963eeaeb4232df3e331522408034606cfefd6 (diff) |
Added BotInfo* sender arg to all of the User mode functions, changed IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index efeb43990..c7d8a8eab 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -67,7 +67,7 @@ void IRCDProto::SendSVSKill(BotInfo *source, User *user, const char *fmt, ...) SendSVSKillInternal(source, user, buf); } -void IRCDProto::SendMode(BotInfo *bi, const char *dest, const char *fmt, ...) +void IRCDProto::SendMode(BotInfo *bi, Channel *dest, const char *fmt, ...) { va_list args; char buf[BUFSIZE] = ""; @@ -77,14 +77,14 @@ void IRCDProto::SendMode(BotInfo *bi, const char *dest, const char *fmt, ...) SendModeInternal(bi, dest, buf); } -void IRCDProto::SendMode(User *u, const char *fmt, ...) +void IRCDProto::SendMode(BotInfo *bi, User *u, const char *fmt, ...) { va_list args; char buf[BUFSIZE] = ""; va_start(args, fmt); vsnprintf(buf, BUFSIZE - 1, fmt, args); va_end(args); - SendModeInternal(u, buf); + SendModeInternal(bi, u, buf); } void IRCDProto::SendKick(BotInfo *bi, Channel *chan, User *user, const char *fmt, ...) |