From c1158fd33a65078b152477fca26114b4c61cc57f Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 26 Jun 2019 12:29:22 -0700 Subject: [PATCH] exttargets: convert $account target to str before matching Closes #639. --- coremods/exttargets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coremods/exttargets.py b/coremods/exttargets.py index eac97ec..8953852 100644 --- a/coremods/exttargets.py +++ b/coremods/exttargets.py @@ -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(':')))