From 403d826a8b6b94e7cfe7d4cffbbc9a843fbea66b Mon Sep 17 00:00:00 2001 From: peavey Date: Wed, 18 Apr 2007 21:28:40 +0000 Subject: Add another trim() to outgoing metadata accountname. *needs test* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6812 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_services_account.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3