Skip to content

Commit be71b35

Browse files
committed
Update to pre-release 10
1 parent 1f12404 commit be71b35

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Samerton
3+
Copyright (c) 2020-2021 Samerton
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Infractions module for Nameless v2 allows you to display a list of ingame pu
88
If you would like to request plugin support, please open an issue on [GitHub](https://github.com/samerton/Nameless-Infractions/issues).
99

1010
### Requirements
11-
- NamelessMC version 2 pre-release 8
11+
- NamelessMC version 2 pre-release 10
1212
- One of the previously mentioned supported plugins installed and configured to use MySQL
1313

1414
### Installation

upload/modules/Infractions/module.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public function __construct($language, $infractions_language, $pages, $cache){
1919

2020
$name = 'Infractions';
2121
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
22-
$module_version = '1.2.1';
23-
$nameless_version = '2.0.0-pr9';
22+
$module_version = '1.2.2';
23+
$nameless_version = '2.0.0-pr10';
2424

2525
parent::__construct($this, $name, $author, $module_version, $nameless_version);
2626

upload/modules/Infractions/pages/panel/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// Can the user view the panel?
1313
if($user->isLoggedIn()){
14-
if(!$user->canViewACP()){
14+
if(!$user->canViewStaffCP()){
1515
// No
1616
Redirect::to(URL::build('/'));
1717
die();

0 commit comments

Comments
 (0)