From 875b584b090680858393bb24dc58fa85e1a434ce Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 13 Sep 2025 10:30:50 -0300 Subject: fix RIGHT check with notations and ip banishments --- src/connections.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/connections.cc b/src/connections.cc index 480cc1e..3c92a51 100644 --- a/src/connections.cc +++ b/src/connections.cc @@ -1063,7 +1063,7 @@ void ProcessSetNotationQuery(TConnection *Connection, TReadBuffer *Buffer){ } // TODO(fusion): Might be `NO_BANISHMENT`. - if(!GetCharacterRight(CharacterID, "NOTATION")){ + if(GetCharacterRight(CharacterID, "NOTATION")){ SendQueryStatusError(Connection, 2); return; } @@ -1225,7 +1225,7 @@ void ProcessBanishIPAddressQuery(TConnection *Connection, TReadBuffer *Buffer){ } // TODO(fusion): Might be `NO_BANISHMENT`. - if(!GetCharacterRight(CharacterID, "IP_BANISHMENT")){ + if(GetCharacterRight(CharacterID, "IP_BANISHMENT")){ SendQueryStatusError(Connection, 2); return; } -- cgit v1.2.3