diff -r 7a720b5d2247 -r c02406028e02 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sat Jan 22 22:31:05 2011 +0100 +++ b/QTfrontend/hwform.cpp Sat Jan 22 22:43:54 2011 +0100 @@ -697,7 +697,7 @@ void HWForm::NetConnectServer(const QString & host, quint16 port) { - _NetConnect(host, port, ui.pageOptions->editNetNick->text()); + _NetConnect(host, port, ui.pageOptions->editNetNick->text().trimmed()); } void HWForm::NetConnectOfficialServer()