From 0a80da2458e05c3aac2f9349444699156c06d9c5 Mon Sep 17 00:00:00 2001 From: Sunblade Date: Mon, 27 Oct 2025 11:03:36 +0000 Subject: [PATCH] Update hx_drives.lua --- hx_drives.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hx_drives.lua b/hx_drives.lua index fb8ba83..987ae13 100644 --- a/hx_drives.lua +++ b/hx_drives.lua @@ -14,10 +14,10 @@ Usage: /drives hexchat.register("hx_drives.lua","0.0.1","Display the list of storage drives - Usage: /drives") function drives() - i = io.popen("wmic logicaldisk get name,freespace,volumename,filesystem") - o = i:read("*a") - i:close() - hexchat.print(o) + input = io.popen("wmic logicaldisk get name,freespace,volumename,filesystem") + output = input:read("*a") + input:close() + hexchat.print(output) return hexchat.EAT_ALL end