Skip to content

Commit

Permalink
Pass command arguments all toghether.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotttf committed May 8, 2012
1 parent a75a006 commit d8ab884
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ class IrcBot extends Adapter
console.log('left %s', channel)

command: (command, strings...) ->
for str in strings
@bot.send command, str
@bot.send command, strings...

run: ->
self = @
Expand Down

0 comments on commit d8ab884

Please sign in to comment.