diff options
Diffstat (limited to 'modules/commands/ms_del.cpp')
-rw-r--r-- | modules/commands/ms_del.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_del.cpp b/modules/commands/ms_del.cpp index 8f75b0da9..d1aeaa4d1 100644 --- a/modules/commands/ms_del.cpp +++ b/modules/commands/ms_del.cpp @@ -70,7 +70,7 @@ class CommandMSDel : public Command source.Reply(READ_ONLY_MODE); return; } - else if (!ci->AccessFor(u).HasPriv(CA_MEMO)) + else if (!ci->AccessFor(u).HasPriv("MEMO")) { source.Reply(ACCESS_DENIED); return; |