Permalink
Browse files

[beer fix] Allow multi-worded drinks

  • Loading branch information...
1 parent 945c4e2 commit f81df79c4c538994bb7cc22513bf66df421b7429 @mmalecki mmalecki committed Oct 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/plugins/beer.js
View
@@ -15,7 +15,7 @@ beer.like = function (data, command) {
this.emit('karmaPreferenceSet', {
nick: data.nick,
- preference: command[1]
+ preference: command.splice(1).join(' ')
});
};

0 comments on commit f81df79

Please sign in to comment.