summaryrefslogtreecommitdiff
path: root/modules/commands/ms_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_info.cpp')
-rw-r--r--modules/commands/ms_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_info.cpp b/modules/commands/ms_info.cpp
index 741be799a..03df6d973 100644
--- a/modules/commands/ms_info.cpp
+++ b/modules/commands/ms_info.cpp
@@ -50,7 +50,7 @@ class CommandMSInfo : public Command
source.Reply(CHAN_X_NOT_REGISTERED, nname.c_str());
return;
}
- else if (!ci->AccessFor(u).HasPriv(CA_MEMO))
+ else if (!ci->AccessFor(u).HasPriv("MEMO"))
{
source.Reply(ACCESS_DENIED);
return;