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:
parent
f74f67bc1a
commit
8fb76f96ff
@ -18,7 +18,7 @@ import world
|
|||||||
from log import log
|
from log import log
|
||||||
|
|
||||||
# Characters allowed in a hostname.
|
# Characters allowed in a hostname.
|
||||||
allowed_chars = string.ascii_letters + '-./:'
|
allowed_chars = string.ascii_letters + '-./:' + string.digits
|
||||||
|
|
||||||
def handle_uid(irc, sender, command, args):
|
def handle_uid(irc, sender, command, args):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user