Skip to content

Commit

Permalink
Fixed Bug - arg0 instead of args0.
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwjk committed Jan 22, 2015
1 parent df262c8 commit e847018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Flight/Flight.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bshields.flight = (function() {
function handleInput(msg) {
var isApi = msg.type === 'api',
args = msg.content.trim().splitArgs(),
command, args0, isHelp;
command, arg0, isHelp;

if (isApi) {
command = args.shift().substring(1).toLowerCase();
Expand Down Expand Up @@ -82,4 +82,4 @@ on('ready', function() {
'use strict';

bshields.flight.registerEventHandlers();
});
});

0 comments on commit e847018

Please sign in to comment.