Skip to content

Commit

Permalink
fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkGoosik committed May 25, 2024
1 parent 292815e commit c03d898
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void handle(HttpExchange exchange) {
return;
}

if(ChannelUtils.exist(map.get("server"), map.get("channel"))) {
if(!ChannelUtils.exist(map.get("server"), map.get("channel"))) {
success(exchange, "Channel not found");
return;
}
Expand Down

0 comments on commit c03d898

Please sign in to comment.