X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1bad309dbfbb9c265503ca862dc24bfd63f4d454..5390631d276eabb666e2b54986ac6f5496f8f90d:/users/index.php diff --git a/users/index.php b/users/index.php index 5d34ce0..0c2f3b8 100644 --- a/users/index.php +++ b/users/index.php @@ -1,5 +1,6 @@ nameban()->add($name, $reason, $duration); + else if ($bantype == "kill") + { + if ($rpc->user()->kill($user->id, $reason)) + Message::Success($user->name . "(*@" . $user->hostname . ") has been killed: $reason"); + else + Message::Fail("Could not kill $user->name: $rpc->error"); + } else if ($rpc->serverban()->add($user->id, $bantype, $duration, $reason)) Message::Success($user->name . " (*@" . $user->hostname . ") has been $bantype" . "d $msg_msg: $reason"); @@ -78,7 +86,7 @@ $users = $rpc->user()->getAll(); Click on a username to view more information. -
@@ -213,6 +243,7 @@ Click on a username to view more information. |
@@ -258,12 +289,14 @@ Click on a username to view more information.
}
?>
- | ||
+
+
+ | |||
- + |