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 /include/users.h | |
| 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 'include/users.h')
| -rw-r--r-- | include/users.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/include/users.h b/include/users.h index d277704ad..3733609ac 100644 --- a/include/users.h +++ b/include/users.h @@ -174,41 +174,48 @@ class CoreExport User : public Extensible void RemoveModeInternal(UserMode *um); /** Set a mode on the user + * @param bi The client setting the mode * @param um The user mode * @param Param Optional param for the mode */ - void SetMode(UserMode *um, const std::string &Param = ""); + void SetMode(BotInfo *bi, UserMode *um, const std::string &Param = ""); /** Set a mode on the user + * @param bi The client setting the mode * @param Name The mode name * @param Param Optional param for the mode */ - void SetMode(UserModeName Name, const std::string &Param = ""); + void SetMode(BotInfo *bi, UserModeName Name, const std::string &Param = ""); /* Set a mode on the user + * @param bi The client setting the mode * @param ModeChar The mode char * @param param Optional param for the mode */ - void SetMode(char ModeChar, const std::string &Param = ""); + void SetMode(BotInfo *bi, char ModeChar, const std::string &Param = ""); /** Remove a mode on the user + * @param bi The client setting the mode * @param um The user mode */ - void RemoveMode(UserMode *um); + void RemoveMode(BotInfo *bi, UserMode *um); /** Remove a mode from the user + * @param bi The client setting the mode * @param Name The mode name */ - void RemoveMode(UserModeName Name); + void RemoveMode(BotInfo *bi, UserModeName Name); /** Remove a mode from the user + * @param bi The client setting the mode * @param ModeChar The mode char */ - void RemoveMode(char ModeChar); + void RemoveMode(BotInfo *bi, char ModeChar); /** Set a string of modes on a user + * @param bi The client setting the mode * @param modes The modes */ - void SetModes(const std::string &modes, ...); + void SetModes(BotInfo *bi, const std::string &modes, ...); }; |
