瀏覽代碼

nicer syntax

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

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

@@ -14,8 +14,7 @@ class ChanOps(BaseCommand):
return "%s users in the channel." % action

def check(self, data):
if data.is_command and (data.command == "voice" or data.command == "devoice"
or data.command == "op" or data.command == "deop"):
if data.is_command and data.command in ["voice", "devoice", "op", "deop"]:
return True
return False



Loading…
取消
儲存