diff options
Diffstat (limited to 'src/modules/m_services_account.cpp')
-rw-r--r-- | src/modules/m_services_account.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index 72cd925ab..78d20a6e9 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -109,16 +109,16 @@ class AccountExtItemImpl : public AccountExtItem { } - void unserialize(SerializeFormat format, Extensible* container, const std::string& value) CXX11_OVERRIDE + void FromInternal(Extensible* container, const std::string& value) CXX11_OVERRIDE { - User* user = static_cast<User*>(container); - - StringExtItem::unserialize(format, container, value); + StringExtItem::FromInternal(container, value); + } - // If we are being reloaded then don't send the numeric or run the event - if (format == FORMAT_INTERNAL) - return; + void FromNetwork(Extensible* container, const std::string& value) CXX11_OVERRIDE + { + StringExtItem::FromNetwork(container, value); + User* user = static_cast<User*>(container); if (IS_LOCAL(user)) { if (value.empty()) |