I just need a very small part of code. I had a custom irc program made up. It works on some irc servers but not on the one I need it to. I need it to look for PING: 36AE9A23 where the 36AE9A23 will always be diff and send a matching PONG: 36AE9A23. this is the code it just needs edited to make it work.
// pong if we get a ping request from the server
if (strcmp("PING", a[0]) == 0) {
irc_sendf(sock, "PONG %s\r\n", a[1]+1);
if (in_channel == 0) {
irc_sendf2(sock, "JOIN %s %s\r\n", channel, chanpass);
}
return 1;
}
please let me know how much it will cost me to get this done.
Thanks
## Deliverables
Just need the code fixxed that I got done as stated above.
## Platform
Windows XP