summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-17 02:10:35 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-17 02:10:35 +0000
commit861fe9e7b32c8e1e523cc774547e460c9ed67289 (patch)
treeb821f00ef784751ff7c43771175b818fec4645bb /include/services.h
parent453963eeaeb4232df3e331522408034606cfefd6 (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 'include/services.h')
-rw-r--r--include/services.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/services.h b/include/services.h
index 8a5585973..d184cd3f4 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1320,8 +1320,8 @@ class CoreExport IRCDProto
{
private:
virtual void SendSVSKillInternal(BotInfo *, User *, const char *) = 0;
- virtual void SendModeInternal(BotInfo *, const char *, const char *) = 0;
- virtual void SendModeInternal(User *, const char *) = 0;
+ virtual void SendModeInternal(BotInfo *, Channel *, const char *) = 0;
+ virtual void SendModeInternal(BotInfo *, User *, const char *) = 0;
virtual void SendKickInternal(BotInfo *, Channel *, User *, const char *) = 0;
virtual void SendNoticeChanopsInternal(BotInfo *bi, Channel *, const char *) = 0;
virtual void SendMessageInternal(BotInfo *bi, const char *dest, const char *buf);
@@ -1343,8 +1343,8 @@ class CoreExport IRCDProto
virtual void SendAkillDel(Akill *) = 0;
virtual void SendSVSKill(BotInfo *source, User *user, const char *fmt, ...);
virtual void SendSVSMode(User *, int, const char **) = 0;
- virtual void SendMode(BotInfo *bi, const char *dest, const char *fmt, ...);
- virtual void SendMode(User *u, const char *fmt, ...);
+ virtual void SendMode(BotInfo *bi, Channel *dest, const char *fmt, ...);
+ virtual void SendMode(BotInfo *bi, User *u, const char *fmt, ...);
virtual void SendClientIntroduction(const char *, const char *, const char *, const char *, const char *, const char *uid) = 0;
virtual void SendKick(BotInfo *bi, Channel *chan, User *user, const char *fmt, ...);
virtual void SendNoticeChanops(BotInfo *bi, Channel *dest, const char *fmt, ...);