瀏覽代碼

Oops!

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
3ed6c709c2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/commands/chanops.py

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

@@ -33,7 +33,7 @@ class ChanOps(Command):
msg = "Available commands are !voice, !devoice, !op, !deop, !join, and !part."
self.reply(data, msg)
return
de_escalate = data.command[:2] in ["devoice", "deop"]
de_escalate = data.command in ["devoice", "deop"]
if de_escalate and (not data.args or data.args[0] == data.nick):
target = data.nick
elif data.host not in self.config.irc["permissions"]["admins"]:


Loading…
取消
儲存