3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-12 05:02:33 +01:00

relayJoins: remove check for whether the sender internal client

This is already done by the .remote attribute check.
This commit is contained in:
James Lu 2015-08-15 05:20:17 -07:00
parent b2e1f9678f
commit cc7e52a190

View File

@ -657,10 +657,6 @@ def relayJoins(irc, channel, users, ts, modes):
continue
log.debug('(%s) relayJoins: got %r for users', irc.name, users)
for user in users.copy():
if utils.isInternalClient(irc, user) or user not in irc.users:
# We don't need to clone PyLink pseudoclients... That's
# meaningless.
continue
try:
if irc.users[user].remote:
# Is the .remote attribute set? If so, don't relay already