瀏覽代碼

Fix config.

tags/v0.3
Ben Kurtovic 8 年之前
父節點
當前提交
425c51a9e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/managers.py

+ 1
- 1
earwigbot/managers.py 查看文件

@@ -225,7 +225,7 @@ class CommandManager(_ResourceManager):
.. note::
The special ``rc`` hook actually passes a :class:`~.RC` object.
"""
if data.chan in self.bot.config.irc.get("quiet", []):
if data.chan in self.bot.config.irc["frontend"].get("quiet", []):
return
for command in self:
if hook in command.hooks and self._wrap_check(command, data):


Loading…
取消
儲存