diff --git a/server.py b/server.py index 37d8f2a..d303915 100755 --- a/server.py +++ b/server.py @@ -235,6 +235,8 @@ def server(phenny, input): name = choice["name"] address = choice["address"] if choice["port"] != "30000": + if ':' in address: # IPv6 + address = "[" + address + "]" address += ":" + choice["port"] clients = choice["clients"] try: