From e32f16ea2b8e2f7ec016598232e405125881ed99 Mon Sep 17 00:00:00 2001 From: peavey Date: Wed, 18 Apr 2007 20:59:21 +0000 Subject: Add fix for bug #259 now that Brain is RAM impaired :p *QA please test* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6810 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_services_account.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- cgit v1.2.3