mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
relay: force tags when a nick collision happens
This commit is contained in:
parent
95ff33876c
commit
bc369bf6a6
@ -1387,7 +1387,8 @@ def nick_collide(irc, target):
|
||||
|
||||
nick = remoteirc.users[remoteuser].nick
|
||||
|
||||
newnick = normalizeNick(irc, remotenet, nick)
|
||||
# Force a tagged nick by setting times_tagged to 1.
|
||||
newnick = normalizeNick(irc, remotenet, nick, times_tagged=1)
|
||||
log.info('(%s) relay.nick_collide: Fixing nick of relay client %r (%s) to %s',
|
||||
irc.name, target, nick, newnick)
|
||||
irc.proto.nick(target, newnick)
|
||||
|
Loading…
Reference in New Issue
Block a user