mirror of https://github.com/calzoneman/sync.git
Fix /poll command
This commit is contained in:
parent
139caa1c12
commit
77261dcc7f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue