diff --git a/LICENSE b/LICENSE index 5ef16a8..f9d101d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Samerton +Copyright (c) 2020-2021 Samerton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 074871f..f23ece4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The Infractions module for Nameless v2 allows you to display a list of ingame pu If you would like to request plugin support, please open an issue on [GitHub](https://github.com/samerton/Nameless-Infractions/issues). ### Requirements -- NamelessMC version 2 pre-release 8 +- NamelessMC version 2 pre-release 10 - One of the previously mentioned supported plugins installed and configured to use MySQL ### Installation diff --git a/upload/modules/Infractions/module.php b/upload/modules/Infractions/module.php index 4916267..534b2a3 100644 --- a/upload/modules/Infractions/module.php +++ b/upload/modules/Infractions/module.php @@ -19,8 +19,8 @@ public function __construct($language, $infractions_language, $pages, $cache){ $name = 'Infractions'; $author = 'Samerton'; - $module_version = '1.2.1'; - $nameless_version = '2.0.0-pr9'; + $module_version = '1.2.2'; + $nameless_version = '2.0.0-pr10'; parent::__construct($this, $name, $author, $module_version, $nameless_version); diff --git a/upload/modules/Infractions/pages/panel/index.php b/upload/modules/Infractions/pages/panel/index.php index 8d611e5..7abf92d 100644 --- a/upload/modules/Infractions/pages/panel/index.php +++ b/upload/modules/Infractions/pages/panel/index.php @@ -11,7 +11,7 @@ // Can the user view the panel? if($user->isLoggedIn()){ - if(!$user->canViewACP()){ + if(!$user->canViewStaffCP()){ // No Redirect::to(URL::build('/')); die();