From c80690a9fcf282b0cb93ae1818c566cfd81c9ce7 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 4 Apr 2009 18:43:24 +0000 Subject: [PATCH] admin: DelUser can now handle spaces in user names The new CloneUser command allows one to create a user with a space in its name and the code for reading znc.conf allows spaces too. So now one can even get rid of this users again... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1478 726aef4b-f618-498e-8847-2d620e286838 --- modules/admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin.cpp b/modules/admin.cpp index ec551417..eed47dae 100644 --- a/modules/admin.cpp +++ b/modules/admin.cpp @@ -307,7 +307,7 @@ class CAdminMod : public CModule { return; } - const CString sUsername = sLine.Token(1); + const CString sUsername = sLine.Token(1, true); if (sUsername.empty()) { PutModule("Usage: deluser "); return;