diff options
Diffstat (limited to 'src/modules/m_rmode.cpp')
-rw-r--r-- | src/modules/m_rmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_rmode.cpp b/src/modules/m_rmode.cpp index f5e6433bf..e4345535e 100644 --- a/src/modules/m_rmode.cpp +++ b/src/modules/m_rmode.cpp @@ -67,7 +67,7 @@ class CommandRMode : public Command if (!mh->IsListMode()) { - if (chan->IsModeSet(modeletter)) + if (chan->IsModeSet(mh)) modestack.Push(modeletter); } else if (((prefixrank = mh->GetPrefixRank()) && (prefixchar = mh->GetPrefix()))) |