mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-26 04:04:22 +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:
parent
b2e1f9678f
commit
cc7e52a190
@ -657,10 +657,6 @@ def relayJoins(irc, channel, users, ts, modes):
|
|||||||
continue
|
continue
|
||||||
log.debug('(%s) relayJoins: got %r for users', irc.name, users)
|
log.debug('(%s) relayJoins: got %r for users', irc.name, users)
|
||||||
for user in users.copy():
|
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:
|
try:
|
||||||
if irc.users[user].remote:
|
if irc.users[user].remote:
|
||||||
# Is the .remote attribute set? If so, don't relay already
|
# Is the .remote attribute set? If so, don't relay already
|
||||||
|
Loading…
Reference in New Issue
Block a user