Skip to content

Commit bf61bdb

Browse files
committed
fix: Simplify command visibility check by removing legacy comment
1 parent 897b45c commit bf61bdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GmCommands.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ class GmCommands : public AllCommandScript
396396
return true;
397397

398398
if (!sGMCommands->IsCommandAllowed(accountId, name))
399-
return true; // lascia il controllo standard (li nascondi / blocchi)
399+
return true;
400400

401-
return false; // comando whitelist: salta who.IsAvailable()
401+
return false;
402402
}
403403

404404
bool OnTryExecuteCommand(ChatHandler& handler, std::string_view /*cmdStr*/) override

0 commit comments

Comments
 (0)