diff Core.lua @ 22:27cf1355cd6f

Bugfixes (changes to zero length lists are killing me) Remove someone from a list
author John@Yosemite-PC
date Fri, 09 Mar 2012 23:58:13 -0500
parents ffcea2f51663
children 611808dbc0c0
line wrap: on
line diff
--- a/Core.lua	Fri Mar 09 23:33:46 2012 -0500
+++ b/Core.lua	Fri Mar 09 23:58:13 2012 -0500
@@ -72,6 +72,13 @@
         end
         if param[2] == "list" then
             bsk:DeleteList(param[3])
+        elseif param[2] == "personfromlist" then
+            if param[4] == nil or param[4] == "" then
+                bsk:PrintTable(param)
+                return
+            end
+            local person = FixPersonName(param[3])
+            bsk:RemovePersonFromList(person, param[4])
         else
             bsk:Print(sformat("Deleting anything of type %s is not supported",param[2]))
         end