@@ -302,7 +302,6 @@ void CCommandFuncs::Reconnect(const char* szParameters)
302302 unsigned int uiPort;
303303
304304 CVARS_GET (" host" , strHost);
305- CVARS_GET (" nick" , strNick);
306305 CVARS_GET (" password" , strPassword);
307306 CVARS_GET (" port" , uiPort);
308307
@@ -315,7 +314,7 @@ void CCommandFuncs::Reconnect(const char* szParameters)
315314 // Verify and convert the port number
316315 if (uiPort <= 0 || uiPort > 0xFFFF )
317316 {
318- CCore::GetSingleton ().GetConsole ()->Print (_ (" connect : Bad port number" ));
317+ CCore::GetSingleton ().GetConsole ()->Print (_ (" reconnect : Bad port number" ));
319318 return ;
320319 }
321320
@@ -330,16 +329,16 @@ void CCommandFuncs::Reconnect(const char* szParameters)
330329 // Start the connect
331330 if (CCore::GetSingleton ().GetConnectManager ()->Reconnect (strHost.c_str (), usPort, strPassword.c_str (), false ))
332331 {
333- CCore::GetSingleton ().GetConsole ()->Printf (_ (" connect: Connecting to %s:%u..." ), strHost.c_str (), usPort);
332+ CCore::GetSingleton ().GetConsole ()->Printf (_ (" reconnect: Reconnecting to %s:%u..." ), strHost.c_str (), usPort);
334333 }
335334 else
336335 {
337- CCore::GetSingleton ().GetConsole ()->Printf (_ (" connect : could not connect to %s:%u!" ), strHost.c_str (), usPort);
336+ CCore::GetSingleton ().GetConsole ()->Printf (_ (" reconnect : could not connect to %s:%u!" ), strHost.c_str (), usPort);
338337 }
339338 }
340339 else
341340 {
342- CCore::GetSingleton ().GetConsole ()->Print (" connect : Failed to unload current mod" );
341+ CCore::GetSingleton ().GetConsole ()->Print (" reconnect : Failed to unload current mod" );
343342 }
344343}
345344
0 commit comments