diff options
| author | 2021-07-03 13:58:34 +0100 | |
|---|---|---|
| committer | 2021-07-03 13:58:34 +0100 | |
| commit | 4350050a82df2c90db4a2ca4fe3ae75a8a343e08 (patch) | |
| tree | 0c2d4f450b8ab975ef17b04de0dbeb78946ca5bf /include/mode.h | |
| parent | Update the IRCCloud example config for the latest host changes. (diff) | |
Fix some "targ" usages which were missed in the earlier commit.
Diffstat (limited to 'include/mode.h')
| -rw-r--r-- | include/mode.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/mode.h b/include/mode.h index 40760bf03..da9d197ca 100644 --- a/include/mode.h +++ b/include/mode.h @@ -621,10 +621,14 @@ class CoreExport ModeParser : public fakederef<ModeParser> */ Modes::ChangeList LastChangeList; - /** - * Attempts to apply a mode change to a user or channel + /** Attempts to apply a mode change to a user or channel + * @param user The user who triggered the mode change. + * @param usertarget If non-NULL then the user to change the modes of. + * @param chantarget If non-NULL then the channel to change the modes of. + * @param mcitem The actual mode change to attempt. + * @param skipacl Whether to skip access checks for the mode change. */ - ModeAction TryMode(User* user, User* targu, Channel* targc, Modes::Change& mcitem, bool SkipACL); + ModeAction TryMode(User* user, User* usertarget, Channel* chantarget, Modes::Change& mcitem, bool skipacl); /** Allocates an unused id for the given mode type, throws a ModuleException if out of ids. * @param mt The type of the mode to allocate the id for |
