aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c
index a14873f32..15781d929 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -210,6 +210,10 @@ create_salut_account (void)
/* Check if the salut CM is installed */
profile = mc_profile_lookup ("salut");
+ if (!profile) {
+ DEBUG ("No salut profile");
+ return;
+ }
protocol = mc_profile_get_protocol (profile);
if (!protocol) {
DEBUG ("Salut not installed");