diff options
| author | 2007-04-18 20:59:21 +0000 | |
|---|---|---|
| committer | 2007-04-18 20:59:21 +0000 | |
| commit | e32f16ea2b8e2f7ec016598232e405125881ed99 (patch) | |
| tree | 7efb9408f9277c2fa126f2ce609751933b67fff2 /src/modules/m_services_account.cpp | |
| parent | Add trim() to hashcomp to trail leading and traling spaces from std::strings (diff) | |
| download | inspircd++-e32f16ea2b8e2f7ec016598232e405125881ed99.tar.gz inspircd++-e32f16ea2b8e2f7ec016598232e405125881ed99.tar.bz2 inspircd++-e32f16ea2b8e2f7ec016598232e405125881ed99.zip | |
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
Diffstat (limited to 'src/modules/m_services_account.cpp')
| -rw-r--r-- | src/modules/m_services_account.cpp | 2 |
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); } } |
