diff options
author | Robby <Robby-@users.noreply.github.com> | 2019-01-17 12:20:26 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-01-17 11:20:26 +0000 |
commit | 0527f858cecb05a79b6405b6d353a460a4946f7f (patch) | |
tree | 0fc742e44f0fada598f1213076baee33fdcd39db /src/modules/m_check.cpp | |
parent | 11cc922584b050b3242e1f50b6821e973d42b3f5 (diff) |
m_check: Fix showing oper permissions (privileges). (#1556)
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index f820f2bd0..1d030acc6 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -200,7 +200,7 @@ class CommandCheck : public Command opcmdlist.Add(oper->AllowedOperCommands.ToString()); opcmdlist.Flush(); CheckContext::List privlist(context, "permissions"); - opcmdlist.Add(oper->AllowedPrivs.ToString()); + privlist.Add(oper->AllowedPrivs.ToString()); privlist.Flush(); } } |