summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Command.php b/classes/Command.php
index 3a64e2fda..dbfe3b7be 100644
--- a/classes/Command.php
+++ b/classes/Command.php
@@ -180,7 +180,7 @@ class MessageCommand extends Command {
function __construct($user, $other, $text) {
parent::__construct($user);
$this->other = $other;
- $this->text = $other;
+ $this->text = $text;
}
function execute($channel) {