From 07c1628d502a1d489100f6a6a658584885ccd9ba Mon Sep 17 00:00:00 2001 From: James Seward Date: Thu, 16 Jan 2014 20:04:53 +0000 Subject: [PATCH] Trim servername in jump command Fixes e.g. tab-completing servername in irssi --- src/ClientCommand.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 7821150b..1d42ec91 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -308,6 +308,7 @@ void CClient::UserCommand(CString& sLine) { } CString sArgs = sLine.Token(1, true); + sArgs.Trim(); CServer *pServer = NULL; if (!sArgs.empty()) {