diff --git a/server/plugins-available/maildrop_plugin.inc.php b/server/plugins-available/maildrop_plugin.inc.php index a0ad50e87810337e38a6c50ae08480df1ee3540e..f35fcd582675c851719c17d09048d0cba76a1c5f 100644 --- a/server/plugins-available/maildrop_plugin.inc.php +++ b/server/plugins-available/maildrop_plugin.inc.php @@ -60,7 +60,7 @@ class maildrop_plugin { Register for the events */ - $app->plugins->registerEvent('mail_user_update','maildrop_plugin','insert'); + $app->plugins->registerEvent('mail_user_insert','maildrop_plugin','update'); $app->plugins->registerEvent('mail_user_update','maildrop_plugin','update'); $app->plugins->registerEvent('mail_user_delete','maildrop_plugin','delete');