mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
3.5.325. Tab complete commands. CSS tweaks. Fix chat lines not updating.
This commit is contained in:
parent
1a52caab6b
commit
6ab4bd64a8
12 changed files with 354 additions and 34 deletions
|
@ -727,7 +727,7 @@ FFZ.prototype.run_command = function(text, room_id) {
|
|||
try {
|
||||
val = command.enabled.call(this, room, args);
|
||||
} catch(err) {
|
||||
this.error('command "' + cmd + '" enabled: ' + err);
|
||||
this.error('command "' + cmd + '" enabled', err);
|
||||
val = false;
|
||||
}
|
||||
}
|
||||
|
@ -2147,7 +2147,7 @@ FFZ.prototype._modify_room = function(room) {
|
|||
was_handled = true;
|
||||
|
||||
} else {
|
||||
var alias = f._command_aliases[cmd],
|
||||
var alias = f._command_aliases[cmd][0],
|
||||
args = text.substr(1 + cmd.length).trimLeft().split(/\s+/g),
|
||||
output = utils.replace_cmd_variables(alias, null, this, null, args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue