From 8fb76f96ff45ca50d2f13c316a3210960fc430cd Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 30 Dec 2015 17:08:38 -0800 Subject: [PATCH] changehost: whoops, numbers are allowed in hostnames too --- plugins/changehost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/changehost.py b/plugins/changehost.py index 80f9b0b..6904267 100644 --- a/plugins/changehost.py +++ b/plugins/changehost.py @@ -18,7 +18,7 @@ import world from log import log # Characters allowed in a hostname. -allowed_chars = string.ascii_letters + '-./:' +allowed_chars = string.ascii_letters + '-./:' + string.digits def handle_uid(irc, sender, command, args): """