mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-25 12:31:04 -05:00
Unix: Fix IPv6 formating of @ping
command (#1595)
This commit is contained in:
parent
6f6f952338
commit
2aa1f916b0
@ -332,8 +332,8 @@ class Unix(callbacks.Plugin):
|
||||
else:
|
||||
response = result[0].decode('utf8').split("\n");
|
||||
if response[1]:
|
||||
irc.reply(' '.join(response[1].split()[3:5]).split(':')[0]
|
||||
+ ': ' + ' '.join(response[-3:]))
|
||||
irc.reply(' '.join(response[1].split()[3:5]).split(': ')[0]
|
||||
+ ' ' + ' '.join(response[-3:]))
|
||||
else:
|
||||
irc.reply(' '.join(response[0].split()[1:3])
|
||||
+ ': ' + ' '.join(response[-3:]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user