summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-06-07 20:08:26 +0200
committerSir Poggles <sir.pogsalot@gmail.com>2012-06-12 22:49:29 -0700
commit0bdaa91b7a1982d494dbe999b9edbb7caab79d05 (patch)
tree1012660777e9799836d01968e1368372cb2df06f
parent451fe7bc41d3260a6d4dac49c32c4575b4b5e28f (diff)
m_services_account Send an AccountEvent with an empty accountname when a user logs out of an account
-rw-r--r--src/modules/m_services_account.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 7f3c54907..cd34e955a 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -277,6 +277,10 @@ class ModuleServicesAccount : public Module
AccountEvent(this, dest, *account).Send();
}
+ else
+ {
+ AccountEvent(this, dest, "").Send();
+ }
}
}