about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index 41885541..4d109886 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -319,8 +319,9 @@ plugins_unload(const char *const name)
             resource_presence_t last_presence = accounts_get_last_presence(account_name);
             cl_ev_presence_send(last_presence, 0);
         }
+        return TRUE;
     }
-    return TRUE;
+    return FALSE;
 }
 
 void