3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00

automode: fix wrong indent in modebot_uid check

This commit is contained in:
James Lu 2016-07-12 22:16:12 -07:00
parent 58d71b0907
commit ad5cd51189

View File

@ -233,6 +233,9 @@ def match(irc, channel, uids=None):
if modebot_uid not in irc.users:
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)
# Create a hook payload to support plugins like relay.