Add .gitignore
Scott Yeskie [05-19-14 - 23:24]
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8c5c4f2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+AutoInvite.iml
+.idea
+out
diff --git a/AutoInvite.lua b/AutoInvite.lua
index 8822492..c4f708e 100644
--- a/AutoInvite.lua
+++ b/AutoInvite.lua
@@ -165,14 +165,14 @@ SLASH_COMMANDS["/airt"] = AutoInvite.tick
SLASH_COMMANDS["/aik"] = function()
local now = GetTimeStamp()
- d("Current timestamp: " .. GetTimeStamp())
- d("Offline players:")
+ --d("Current timestamp: " .. GetTimeStamp())
+ --d("Offline players:")
for p,t in pairs(AutoInvite.kickTable) do
local offTime = now - t
if offTime > 300 then
d(" KICK: " .. p .. " offline for " .. now - t)
else
- d(" " .. p .. " offline for " .. now - t)
+ --d(" " .. p .. " offline for " .. now - t)
end
end
end
@@ -185,7 +185,7 @@ SLASH_COMMANDS["/aikick"] = function()
local offTime = now - t
if offTime > 300 then
d(" KICK: " .. p .. " offline for " .. now - t)
- --GroupKick(string unitTag)
+ GroupKickByName(p)
else
d(" " .. p .. " offline for " .. now - t)
end