aboutsummaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-21 13:34:19 +0100
committerGravatar Sadie Powell2022-05-21 13:34:19 +0100
commit4005b31d1712c00f6d9073844219a5fea775b60c (patch)
tree73f1c056a3f06dc50653b2ddf14e517d16ebafe2 /src/mode.cpp
parentUpdate links to point to the upcoming v4 docs. (diff)
parentFix 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.cpp2
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);