X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1bad309dbfbb9c265503ca862dc24bfd63f4d454..ea90b321a4b3768028d841b307c362af97a5e6e1:/users/index.php diff --git a/users/index.php b/users/index.php index 5d34ce0..dae4041 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"); @@ -111,6 +119,7 @@ Click on a username to view more information.
@@ -213,6 +237,7 @@ Click on a username to view more information. |
@@ -258,12 +283,14 @@ Click on a username to view more information.
}
?>
- | ||
+
+
+ | |||
- + |