3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-02 23:54:08 +01:00

relay: fix is_internal_client call

This commit is contained in:
James Lu 2018-04-13 20:31:56 -07:00
parent 2f12a5b710
commit 4cdc19ac78

View File

@ -545,7 +545,7 @@ def remove_channel(irc, channel):
if relay and channel in irc.channels: if relay and channel in irc.channels:
for user in irc.channels[channel].users.copy(): for user in irc.channels[channel].users.copy():
# Relay a /part of all local users. # Relay a /part of all local users.
if not is_internal_client(irc, user): if not irc.is_internal_client(user):
relay_part(irc, channel, user) relay_part(irc, channel, user)
else: else:
# Part and quit all relay clients. # Part and quit all relay clients.