Skip to content

Commit d8ab884

Browse files
committed
Pass command arguments all toghether.
1 parent a75a006 commit d8ab884

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/irc.coffee

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class IrcBot extends Adapter
4848
console.log('left %s', channel)
4949

5050
command: (command, strings...) ->
51-
for str in strings
52-
@bot.send command, str
51+
@bot.send command, strings...
5352

5453
run: ->
5554
self = @

0 commit comments

Comments
 (0)