3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-26 04:32:51 +01:00

exttargets: convert $account target to str before matching

Closes #639.
This commit is contained in:
James Lu 2019-06-26 12:29:22 -07:00
parent caa94f983f
commit c1158fd33a

View File

@ -41,7 +41,7 @@ def account(irc, host, uid):
homenet, realuid) homenet, realuid)
return False 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. # Split the given exttarget host into parts, so we know how many to look for.
groups = list(map(irc.to_lower, host.split(':'))) groups = list(map(irc.to_lower, host.split(':')))