From: <bf...@li...> - 2005-04-05 17:37:28
|
Hi, I have problem with connecting to Unreal IRC server. I would like to suppose the following patch: Have a nice day, Barna Faragó. Index: src/ircBasicCommands.cpp =================================================================== RCS file: /cvsroot/libirc/libirc/src/ircBasicCommands.cpp,v retrieving revision 1.17 diff -u -r1.17 ircBasicCommands.cpp --- src/ircBasicCommands.cpp 12 Mar 2005 22:47:35 -0000 1.17 +++ src/ircBasicCommands.cpp 5 Apr 2005 17:03:15 -0000 @@ -79,6 +79,7 @@ { IRCCommandINfo ircInfo; ircInfo.command = eCMD_PONG; + ircInfo.raw=info.raw; client.sendIRCCommand(eCMD_PONG,ircInfo); return true; } @@ -108,8 +109,8 @@ bool IRCPongCommand::send ( IRCClient &client, std::string &command, BaseIRCCommandInfo &info ) { IRCCommandINfo &ircInfo = (IRCCommandINfo&)info; - - std::string commandLine; + + std::string commandLine=info.raw.substr(5, info.raw.length()-5); // PING client.sendIRCCommandToServer(eCMD_PONG,commandLine); return true; |