1234567891011121314151617 |
- #! /bin/sh /usr/share/dpatch/dpatch-run
- ## 03-unnamed.dpatch by Mario Iseli <admin@marioiseli.com>
- ##
- ## DP: Fixes the problem with the ping answer.
- @DPATCH@
- diff -Naur ngircd-0.9.2.orig/src/ngircd/irc-login.c ngircd-0.9.2/src/ngircd/irc-login.c
- --- ngircd-0.9.2.orig/src/ngircd/irc-login.c 2005-06-04 14:32:09.000000000 +0200
- +++ ngircd-0.9.2/src/ngircd/irc-login.c 2005-12-14 22:49:28.000000000 +0100
- @@ -456,7 +456,7 @@
- }
-
- Log( LOG_DEBUG, "Connection %d: got PING, sending PONG ...", Client_Conn( Client ));
- - return IRC_WriteStrClient( Client, "PONG %s :%s", Client_ID( Client_ThisServer( )), Client_ID( Client ));
- + return IRC_WriteStrClient(Client, "PONG %s :%s", Client_ID( Client_ThisServer( )), Req->argv[0]);
- } /* IRC_PING */
|