From 861fe9e7b32c8e1e523cc774547e460c9ed67289 Mon Sep 17 00:00:00 2001 From: Adam- Date: Thu, 17 Dec 2009 02:10:35 +0000 Subject: 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 --- include/services.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/services.h') 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, ...); -- cgit