From afecb1c99ba59f5b98571b2f1a361deb98f503a0 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 8 Mar 2016 15:51:31 +0100 Subject: [PATCH] clear history fix --- slash.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slash.lua b/slash.lua index e37f68d..cc27205 100644 --- a/slash.lua +++ b/slash.lua @@ -1,7 +1,7 @@ SLASH_AUX1 = '/aux' function SlashCmdList.AUX(parameter) if parameter == 'clear history' then - Aux.persistence.load_dataset().history = {} + Aux.persistence.load_dataset().history = nil Aux.log('History cleared.') elseif parameter == 'clear post' then Aux.persistence.load_dataset().post = {}