aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connections.cc4
1 files changed, 2 insertions, 2 deletions
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;
}