mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 05:02:33 +01:00
automode: fix wrong indent in modebot_uid check
This commit is contained in:
parent
58d71b0907
commit
ad5cd51189
@ -229,9 +229,12 @@ def match(irc, channel, uids=None):
|
|||||||
log.debug("(%s) automode: Filtered mode list of %s to %s (protocol:%s)",
|
log.debug("(%s) automode: Filtered mode list of %s to %s (protocol:%s)",
|
||||||
irc.name, modes, outgoing_modes, irc.protoname)
|
irc.name, modes, outgoing_modes, irc.protoname)
|
||||||
|
|
||||||
# If the Automode bot is missing, send the mode through the PyLink server.
|
# If the Automode bot is missing, send the mode through the PyLink server.
|
||||||
if modebot_uid not in irc.users:
|
if modebot_uid not in irc.users:
|
||||||
modebot_uid = irc.sid
|
modebot_uid = irc.sid
|
||||||
|
|
||||||
|
log.debug("(%s) automode: sending modes from modebot_uid %s",
|
||||||
|
irc.name, modebot_uid)
|
||||||
|
|
||||||
irc.proto.mode(modebot_uid, channel, outgoing_modes)
|
irc.proto.mode(modebot_uid, channel, outgoing_modes)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user