fix: add space to avoid breaking ipv6 formating

This commit is contained in:
Codimp 2024-10-04 14:11:34 +02:00
parent 6f6f952338
commit 097a489397
No known key found for this signature in database
GPG Key ID: E4B0289A04C9CBF6

View File

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