瀏覽代碼

Merge 86639a977c into c19a1bde2e

pull/33/merge
Yulli Equine 12 年之前
父節點
當前提交
0a293ac4dc
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      earwigbot/commands/chanops.py

+ 3
- 1
earwigbot/commands/chanops.py 查看文件

@@ -33,7 +33,9 @@ class ChanOps(Command):
msg = "Available commands are !voice, !devoice, !op, !deop, !join, and !part."
self.reply(data, msg)
return
if data.host not in self.config.irc["permissions"]["admins"]:
if data.command[:2] == "de" and not data.args:
target = data.nick
elif data.host not in self.config.irc["permissions"]["admins"]:
self.reply(data, "You must be a bot admin to use this command.")
return



Loading…
取消
儲存