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:
parent
835d2e4b5f
commit
72e4c8f523
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue