diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-01 12:23:50 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-01 12:23:50 +0100 |
commit | 44b5a8fa89d8c2bda767c0d5fe77c4d31061ce2b (patch) | |
tree | 0f1b3d375efd8584858e7df906de6bc322f4b5c6 /src/modules/m_services_account.cpp | |
parent | 0a12e928e61cdb5366f0ad8ffb9d912eb14c5878 (diff) | |
parent | 19cc9292ab5889fa09962820f3179e8078bec956 (diff) |
Merge branch 'master+reloadmod'
Diffstat (limited to 'src/modules/m_services_account.cpp')
-rw-r--r-- | src/modules/m_services_account.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index a11b05ca3..48ab511f0 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -118,6 +118,11 @@ class AccountExtItemImpl : public AccountExtItem User* user = static_cast<User*>(container); StringExtItem::unserialize(format, container, value); + + // If we are being reloaded then don't send the numeric or run the event + if (format == FORMAT_INTERNAL) + return; + if (!value.empty()) { // Logged in |