3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +01:00

changehost: whoops, numbers are allowed in hostnames too

This commit is contained in:
James Lu 2015-12-30 17:08:38 -08:00
parent f74f67bc1a
commit 8fb76f96ff

View File

@ -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):
"""