mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 20:22:45 +01:00
exttargets: convert $account target to str before matching
Closes #639.
This commit is contained in:
parent
caa94f983f
commit
c1158fd33a
@ -41,7 +41,7 @@ def account(irc, host, uid):
|
||||
homenet, realuid)
|
||||
return False
|
||||
|
||||
slogin = irc.to_lower(userobj.services_account)
|
||||
slogin = irc.to_lower(str(userobj.services_account))
|
||||
|
||||
# Split the given exttarget host into parts, so we know how many to look for.
|
||||
groups = list(map(irc.to_lower, host.split(':')))
|
||||
|
Loading…
Reference in New Issue
Block a user