X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/4ee7eb56ec9413e399d85f1c0ead48d195630eab..c06c1713af2db485d55a91073bbc5b63b6aa8c0b:/users/index.php diff --git a/users/index.php b/users/index.php index c8316ad..2e8cf75 100644 --- a/users/index.php +++ b/users/index.php @@ -1,6 +1,7 @@ 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"); @@ -79,7 +86,7 @@ $users = $rpc->user()->getAll(); Click on a username to view more information. -
@@ -214,6 +243,7 @@ Click on a username to view more information. |
@@ -259,12 +289,14 @@ Click on a username to view more information.
}
?>
- | ||
+
+
+ | |||
- + |