mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
Fix /poll command
This commit is contained in:
parent
139caa1c12
commit
77261dcc7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue