summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_services_account.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index dc10d9408..8f5b830f2 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -235,6 +235,9 @@ class ModuleServicesAccount : public Module
user->GetExt("accountname", account);
if (account)
{
+ // atheme puts a space on this at logout, trim it
+ trim(*account);
+
// call this function in the linking module, let it format the data how it
// sees fit, and send it on its way. We dont need or want to know how.
proto->ProtoSendMetaData(opaque,TYPE_USER,user,extname,*account);