X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/ce25dde2e1cf8021bac8a783f5d1b99b56015b2c..47aad98291fb8ad90cb308ba21fe73c7c7ccd843:/settings/index.php diff --git a/settings/index.php b/settings/index.php index a3ca2f2..e6bb0d1 100644 --- a/settings/index.php +++ b/settings/index.php @@ -52,6 +52,7 @@ if (isset($_POST)) } else if (($usr_obj = new PanelUser($user['user_name'])) && isset($usr_obj->id)) { + $usr_obj->add_meta("role", $p['user_role']); Message::Success("Successfully created user \"" . $user['user_name'] . "\""); } else @@ -89,27 +90,36 @@ Click on a username to view more information.