mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +01:00
nefarious: use nicks in user MODE targets
This is more consistent with what Nefarious and P10 do.
This commit is contained in:
parent
841d58d82e
commit
188d2f891c
@ -390,6 +390,9 @@ class P10Protocol(Protocol):
|
||||
ts = ts or cobj.ts
|
||||
send_ts = True
|
||||
else:
|
||||
assert target in self.irc.users, "Unknown mode target %s" % target
|
||||
# P10 uses nicks in user MODE targets, NOT UIDs. ~GL
|
||||
target = self.irc.users[target].nick
|
||||
send_ts = False
|
||||
|
||||
while modes[:12]:
|
||||
|
Loading…
Reference in New Issue
Block a user