summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_services_account.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 1f9daf452..d2106a884 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -302,6 +302,8 @@ class ModuleServicesAccount : public Module
if (!dest->GetExt("accountname", text))
{
text = new std::string(extdata);
+ // atheme puts a space on this at logout, trim it
+ trim(text);
dest->Extend("accountname", text);
}
}