From 77261dcc7fd1ac18497c44858fc83f44a71f2935 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Thu, 23 May 2013 21:42:12 -0400 Subject: [PATCH] Fix /poll command --- chatcommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatcommand.js b/chatcommand.js index f4a6263d..d49a2a96 100644 --- a/chatcommand.js +++ b/chatcommand.js @@ -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);