diff --git a/ext/sourcepawn-client/Facti13Reports.sp b/ext/sourcepawn-client/Facti13Reports.sp index f0dbacc..f98ce2a 100644 --- a/ext/sourcepawn-client/Facti13Reports.sp +++ b/ext/sourcepawn-client/Facti13Reports.sp @@ -404,7 +404,7 @@ stock ReportProcessing(int cid, const char[] Reason){ static void Report_Callback(HTTPResponse response, any value){ int cid_author = GetClientOfUserId(value); - if (response.Status > 200 && response.Status < 210){ + if (response.Status == 200){ PrintToChat(cid_author, "Репорт отправлен!"); return; } else { diff --git a/src/main/java/app/entities/report/ReportPermition.java b/src/main/java/app/entities/report/ReportPermition.java index 4716870..8cc5fa6 100644 --- a/src/main/java/app/entities/report/ReportPermition.java +++ b/src/main/java/app/entities/report/ReportPermition.java @@ -13,7 +13,9 @@ public enum ReportPermition { if (this.equals(DONT_HAVE)) return ""; if (this.equals(UNKNOWN)) return ""; return new StringBuilder(" | ") + .append("[") .append(toString().toUpperCase()) + .append("]") .toString(); } }