clear history fix

This commit is contained in:
Manuel Simon Hirsig
2016-03-08 15:51:31 +01:00
parent aa68fcc3bc
commit afecb1c99b
+1 -1
View File
@@ -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 = {}