|
@@ -225,7 +225,7 @@ class CommandManager(_ResourceManager): |
|
|
.. note:: |
|
|
.. note:: |
|
|
The special ``rc`` hook actually passes a :class:`~.RC` object. |
|
|
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 |
|
|
return |
|
|
for command in self: |
|
|
for command in self: |
|
|
if hook in command.hooks and self._wrap_check(command, data): |
|
|
if hook in command.hooks and self._wrap_check(command, data): |
|
|