Mercurial > wow > ouroloot
diff core.lua @ 122:fb4bda3ad05c
Various trivial cleanups.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 17 Aug 2012 01:04:38 -0400 |
parents | ec5174529e0f |
children | a9cf9b2fbf9b |
line wrap: on
line diff
--- a/core.lua Fri Aug 17 00:34:05 2012 -0400 +++ b/core.lua Fri Aug 17 01:04:38 2012 -0400 @@ -3221,12 +3221,6 @@ } t.realm = realmname - --[[ - t.cols = setmetatable({ - { value = realmname }, - }, self.time_column1_used_mt) - ]] - if not t.byname then self:_build_history_names (t) end @@ -3694,14 +3688,6 @@ ------ Player communication do local select, tconcat, strsplit, unpack = select, table.concat, strsplit, unpack - --[[ old way: repeated string concatenations, BAD - new way: new table on every broadcast, BAD - local msg = ... - for i = 2, select('#',...) do - msg = msg .. '\a' .. (select(i,...) or "") - end - return msg - ]] local function assemble(t,...) local n = select('#',...) if n > 0 then @@ -3833,7 +3819,7 @@ end) local waferthin = addon.format_hypertext ([[the blue pill]], '|cff0070dd', function (self) - g_wafer_thin = true -- mint? it's wafer thin! + g_wafer_thin = true -- mint? it's wafer thin! self:broadcast('bcast_denied') -- fuck off, I'm full end) OCR_funcs.bcast_req = function (sender)