3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

unreal: log instances of PUID manging to debug

This commit is contained in:
James Lu 2016-04-03 13:01:08 -07:00
parent 75984c3c4c
commit 55afa1bff6

View File

@ -65,7 +65,9 @@ class UnrealProtocol(TS6BaseProtocol):
if uid in self.irc.users and '@' in uid:
# UID exists and has a @ in it, meaning it's a PUID (orignick@counter style).
# Return this user's nick accordingly.
return self.irc.users[uid].nick
nick = self.irc.users[uid].nick
log.debug('(%s) Mangling target PUID %s to nick %s', self.irc.name, uid, nick)
return nick
return uid
### OUTGOING COMMAND FUNCTIONS