From 77abaf7cd148e8085c65d6246c83583ad45aa547 Mon Sep 17 00:00:00 2001 From: Alejandro Liu Date: Mon, 24 Aug 2015 15:59:13 +0200 Subject: [PATCH] Bug fixes --- SimpleAuthHelper/README.md | 1 + libcommon/src/aliuly/common/BasicPlugin.php | 2 +- libcommon/src/aliuly/common/CmdSelector.php | 2 +- libcommon/src/aliuly/common/SubCommandMap.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SimpleAuthHelper/README.md b/SimpleAuthHelper/README.md index a6b07b8..21b9f6c 100644 --- a/SimpleAuthHelper/README.md +++ b/SimpleAuthHelper/README.md @@ -208,3 +208,4 @@ are kicked and any new joins are not allowed. You should have received a copy of the GNU General Public License along with this program. If not, see . + diff --git a/libcommon/src/aliuly/common/BasicPlugin.php b/libcommon/src/aliuly/common/BasicPlugin.php index 0a50fdc..498ec30 100644 --- a/libcommon/src/aliuly/common/BasicPlugin.php +++ b/libcommon/src/aliuly/common/BasicPlugin.php @@ -113,7 +113,7 @@ public function registerSCmd($cmd,$callable,$opts) { if ($this->scmdMap === null) { $this->scmdMap = new SubCommandMap(); } - $this->scmdMap->registerSCmd($cmd,$callable,$opts) + $this->scmdMap->registerSCmd($cmd,$callable,$opts); } /** * Get a player state for the desired module/$label. diff --git a/libcommon/src/aliuly/common/CmdSelector.php b/libcommon/src/aliuly/common/CmdSelector.php index 4fb1ede..977423d 100644 --- a/libcommon/src/aliuly/common/CmdSelector.php +++ b/libcommon/src/aliuly/common/CmdSelector.php @@ -1,7 +1,7 @@ sendMessage(mc::_("No sub-command specified")); return false;