diff options
Diffstat (limited to 'src/servercommand.cpp')
-rw-r--r-- | src/servercommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servercommand.cpp b/src/servercommand.cpp index bf174497d..663693b9a 100644 --- a/src/servercommand.cpp +++ b/src/servercommand.cpp @@ -185,7 +185,7 @@ void cmd_teleport(std::wostringstream &os, void cmd_banunban(std::wostringstream &os, ServerCommandContext *ctx) { - if((ctx->privs && PRIV_BAN) == 0) + if((ctx->privs & PRIV_BAN) == 0) { os<<L"-!- You don't have permission to do that"; return; |