mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-22 10:29:25 +01:00
Network: Fix IPv6 parsing
This commit is contained in:
parent
7af8918f41
commit
fb16e8b6c2
@ -81,7 +81,7 @@ class Network(callbacks.Plugin):
|
||||
ssl = False
|
||||
if server:
|
||||
if ':' in server:
|
||||
(server, port) = server.split(':')
|
||||
(server, port) = server.rsplit(':', 1)
|
||||
port = int(port)
|
||||
elif ssl:
|
||||
port = 6697
|
||||
|
Loading…
Reference in New Issue
Block a user