module refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-10-14 02:31:45 +02:00
parent fcdbe9cb2c
commit 314e66812b
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ local cache = require 'aux.core.cache'
_G.aux_ignore_owner = true _G.aux_ignore_owner = true
SLASH_AUX1 = '/aux' _G.SLASH_AUX1 = '/aux'
function SlashCmdList.AUX(command) function _G.SlashCmdList.AUX(command)
if not command then return end if not command then return end
local arguments = tokenize(command) local arguments = tokenize(command)
if arguments[1] == 'clear' and arguments[2] == 'history' then if arguments[1] == 'clear' and arguments[2] == 'history' then
+1 -1
View File
@@ -516,7 +516,7 @@ public.bids_config = {
fill = function(cell, record) fill = function(cell, record)
local status local status
if record.high_bidder then if record.high_bidder then
status = color.yellow('High Bidder') status = color.yellow'High Bidder'
else else
status = color.red'Outbid' status = color.red'Outbid'
end end