Skip to content

Commit

Permalink
Update to pre-release 10
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Jul 4, 2021
1 parent 1f12404 commit be71b35
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions upload/modules/Infractions/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public function __construct($language, $infractions_language, $pages, $cache){

$name = 'Infractions';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$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);

Expand Down
2 changes: 1 addition & 1 deletion upload/modules/Infractions/pages/panel/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit be71b35

Please sign in to comment.