summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2011-07-05 20:11:40 +1000
committerDoug Kearns <dougkearns@gmail.com>2011-07-05 20:11:40 +1000
commitc3739007d26c573f89d263a3e44bc6cda6a28940 (patch)
tree267efe052a3502f95095642262269189c734812b /common
parent6263ad529db436ff798f65fd014cfe345354b2f6 (diff)
downloadpentadactyl-c3739007d26c573f89d263a3e44bc6cda6a28940.tar.gz
Fix Command#lastCommand.
--HG-- extra : rebase_source : 3c37db1a4c7bfae5316e83cd16e6bcf2059c55bb
Diffstat (limited to 'common')
-rw-r--r--common/modules/commands.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/commands.jsm b/common/modules/commands.jsm
index 8280913b..7760bda8 100644
--- a/common/modules/commands.jsm
+++ b/common/modules/commands.jsm
@@ -142,7 +142,7 @@ var Command = Class("Command", {
get helpTag() ":" + this.name,
- get lastCommand() this._lastCommand || commandline.command,
+ get lastCommand() this._lastCommand || this.modules.commandline.command,
set lastCommand(val) { this._lastCommand = val; },
/**