mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 03:33:34 -04:00
16 lines
754 B
Plaintext
16 lines
754 B
Plaintext
$NetBSD: patch-ae,v 1.3 2004/12/03 12:15:54 adam Exp $
|
|
|
|
--- src/mod/ctcp.mod/ctcp.c.orig 2004-06-14 01:14:07.000000000 +0000
|
|
+++ src/mod/ctcp.mod/ctcp.c
|
|
@@ -161,8 +161,8 @@ static int ctcp_CHAT(char *nick, char *u
|
|
/* Do me a favour and don't change this back to a CTCP reply,
|
|
* CTCP replies are NOTICE's this has to be a PRIVMSG
|
|
* -poptix 5/1/1997 */
|
|
- dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %lu %u\001\n",
|
|
- nick, iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
|
|
+ dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %u %u\001\n",
|
|
+ nick, (unsigned)iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
|
|
dcc[i].port);
|
|
return 1;
|
|
}
|