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:
parent
2f12a5b710
commit
4cdc19ac78
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user