aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Robby2019-01-17 12:20:26 +0100
committerGravatar Peter Powell2019-01-17 11:20:26 +0000
commit0527f858cecb05a79b6405b6d353a460a4946f7f (patch)
tree0fc742e44f0fada598f1213076baee33fdcd39db /src/modules/m_check.cpp
parentFix the hostchange set action swapping the host/value fields. (diff)
m_check: Fix showing oper permissions (privileges). (#1556)
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp2
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();
}
}