Fix /poll command

This commit is contained in:
Calvin Montgomery 2013-05-23 21:42:12 -04:00
parent 139caa1c12
commit 77261dcc7f
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ function handleUnban(chan, user, args) {
}
function handlePoll(chan, user, msg) {
if(chan.hasPermission(user, "poll")) {
if(chan.hasPermission(user, "pollctl")) {
var args = msg.split(",");
var title = args[0];
args.splice(0, 1);