Skip to content

Commit

Permalink
Merge pull request #7 from camaran/patch-1
Browse files Browse the repository at this point in the history
Update support of new TLD like .technology
  • Loading branch information
jarus committed Mar 16, 2014
2 parents 700f126 + 1086ae8 commit 85caf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prosody_
Expand Up @@ -195,7 +195,7 @@ def main():

telnet = telnetlib.Telnet(host, port)

host_regex = re.compile(r"\S*[\.]*\S*\.\S{1,4}")
host_regex = re.compile(r"\S*[\.]*\S*\.\S{1,10}")
user_count_regex = re.compile(r"Showing \d+ of (\d+) users")
telnet.write('>for host, hostsess in pairs(hosts) do '
'if hostsess.type == "local" then print(host) end '
Expand Down

0 comments on commit 85caf1b

Please sign in to comment.