From 3cbf504aed84a43f901e3e14847b17d7fa3779b4 Mon Sep 17 00:00:00 2001 From: Christopher Vagnetoft Date: Tue, 1 Nov 2016 15:28:03 +0100 Subject: [PATCH] Fixed bug in addCommands --- lib/Context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Context.php b/lib/Context.php index ab7d0ce..6264add 100644 --- a/lib/Context.php +++ b/lib/Context.php @@ -36,7 +36,7 @@ class Context $handler = [ $this,$handler ]; } // Add the command to the command list - $this->addCommand($handler); + $this->addCommand($command, $handler); } }