2005-03-21 [holger] 1.9.6cvs7
[claws.git] / src / plugins / spamassassin / spamassassin.c
index 2492f21a90b56ff48f010b8a48f812a447511415..c35607158971bb08a44d16881f8aa06ebc0b3ad5 100644 (file)
@@ -298,6 +298,7 @@ gint plugin_init(gchar **error)
 
        username = g_get_user_name();
        if (username == NULL) {
+               hooks_unregister_hook(MAIL_FILTERING_HOOKLIST, hook_id);
                *error = g_strdup("Failed to get username");
                return -1;
        }