1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix use of && instead of &

This commit is contained in:
Giuseppe Bilotta 2011-08-12 23:34:12 +02:00
parent 835d2e4b5f
commit 72e4c8f523
2 changed files with 5 additions and 5 deletions

View file

@ -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;