diff Lists.lua @ 2:00286ba3b9c4

Bug: forgot raid list was keyed with the names
author John@Yosemite-PC
date Fri, 02 Mar 2012 22:44:30 -0500
parents 21c58930f74e
children 431ddc8bdb4a
line wrap: on
line diff
--- a/Lists.lua	Fri Mar 02 22:32:12 2012 -0500
+++ b/Lists.lua	Fri Mar 02 22:44:30 2012 -0500
@@ -317,9 +317,9 @@
         t[v] = true
     end
     for i,v in pairs(RaidList) do
-        if t[v] == nil then
-            bsk:Print(sformat("Player % is missing from the players list - adding",v))
-            bsk:AddPlayer(v)
+        if t[i] == nil then
+            bsk:Print(sformat("Player %s is missing from the players list - adding",i))
+            bsk:AddPlayer(i)
         end
     end
     -- TODO: batch into a single op - no need to spam 25 messages in a row