mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
Protocol: remove desync warning in getUid
This commit is contained in:
parent
8ba0412ece
commit
0f0ae8fc2f
@ -741,9 +741,6 @@ class Protocol():
|
||||
"""Converts a nick argument to its matching UID. This differs from irc.nickToUid()
|
||||
in that it returns the original text instead of None, if no matching nick is found."""
|
||||
target = self.irc.nickToUid(target) or target
|
||||
if target not in self.irc.users and not utils.isChannel(target):
|
||||
log.debug("(%s) Possible desync? Got command target %s, who "
|
||||
"isn't in our user list!", self.irc.name, target)
|
||||
return target
|
||||
|
||||
### FakeIRC classes, used for test cases
|
||||
|
Loading…
Reference in New Issue
Block a user