summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNEMESIS13cz <seke94@seznam.cz>2015-11-01 14:09:01 +0100
committerNEMESIS13cz <seke94@seznam.cz>2015-11-01 14:09:01 +0100
commitcb8efcc767429125cf9aac6ebae0d08e26b8d2c7 (patch)
treecd9b529eb3632771b84198a5926f606d17bbad75
parent438a2f702778d2455c3f1308f5b828a54b0067b3 (diff)
fixed errors on login event
-rw-r--r--iptracker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptracker.py b/iptracker.py
index 70cab1a..8bbd053 100644
--- a/iptracker.py
+++ b/iptracker.py
@@ -13,7 +13,7 @@ iptrack_permission = "utils.iptrack"
@hook.event("player.PlayerJoinEvent", "low")
def on_player_join(event):
- t = threading.Thread(target=on_player_join_thread, args=(event))
+ t = threading.Thread(target=on_player_join_thread, args=(event, ))
t.daemon = True
t.start()