diff options
| author | 2022-05-21 13:34:19 +0100 | |
|---|---|---|
| committer | 2022-05-21 13:34:19 +0100 | |
| commit | 4005b31d1712c00f6d9073844219a5fea775b60c (patch) | |
| tree | 73f1c056a3f06dc50653b2ddf14e517d16ebafe2 /src/mode.cpp | |
| parent | Update links to point to the upcoming v4 docs. (diff) | |
| parent | Fix httpd_stats swallowing requests that it doesn't handle. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index f0538f457..57e31041f 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -759,7 +759,7 @@ bool ModeParser::DelModeWatcher(ModeWatcher* mw) void ModeHandler::RemoveMode(User* user) { // Remove the mode if it's set on the user - if (user->IsModeSet(this->GetModeChar())) + if (user->IsModeSet(this)) { Modes::ChangeList changelist; changelist.push_remove(this); |
