X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1d7e7ff8c5a062360ecee9b83bff02532ea10b47..02c4da666e34e26a2a3b56bd31f56c5ce318463a:/index.php
diff --git a/index.php b/index.php
index 0472a48..b83fcf3 100644
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
@@ -65,7 +65,7 @@ if (!empty($_POST)) {
return;
}
- $msg_msg = ($duration == 0) ? "permanently" : "for $duration";
+ $msg_msg = ($duration == "0" || $duration == "0w0d0h") ? "permanently" : "for $duration";
$reason = (isset($_POST['ban_reason'])) ? $_POST['ban_reason'] : "No reason";
if (rpc_tkl_add($user, $bantype, $duration, $reason))
{
@@ -118,11 +118,11 @@ rpc_pop_lists();
UID |
Host / IP |
Account |
-
Usermodes |
+
Usermodesâ¹ï¸ |
Oper |
Secure |
Connected to |
-
Reputation â¹ï¸ |
+
Reputation â¹ï¸ |