aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mimicking.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_mimicking.lua b/plugins/mod_mimicking.lua
index da03967f..8b8d6ee3 100644
--- a/plugins/mod_mimicking.lua
+++ b/plugins/mod_mimicking.lua
@@ -19,11 +19,11 @@ module:hook("user-registered", function(user)
datamanager.store(skeleton(user.username), user.host, "skeletons", {username = user.username});
end);
-module:hook("user-deregistered", function(user)
+module:hook("user-deleted", function(user)
datamanager.store(skeleton(user.username), user.host, "skeletons", nil);
end);
-module:hook("registration-attempt", function(user)
+module:hook("user-registering", function(user)
if datamanager.load(skeleton(user.username), user.host, "skeletons") then
user.allowed = false;
end