3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00

automode: send delacc confirmations from the right client

Also bold some parts of the output for easier viewing.
This commit is contained in:
James Lu 2018-06-10 14:31:56 -07:00
parent 8608c72b16
commit 372e7fb405

View File

@ -277,7 +277,7 @@ def delacc(irc, source, args):
del dbentry[mask_entry]
removed.append(mask_entry)
irc.reply('Done. Removed %d entries on %s: %s' % (len(removed), channel, ', '.join(removed)))
reply(irc, 'Done. Removed \x02%d\x02 entries on \x02%s\x02: %s' % (len(removed), channel, ', '.join(removed)))
# Remove channels if no more entries are left.
if not dbentry: