summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches/patch-ae
blob: b19c1a3c137fe79ce29277e4171b7157f25eb1c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ae,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $

--- src/mod/ctcp.mod/ctcp.c.orig	Wed Dec  9 23:18:06 1998
+++ src/mod/ctcp.mod/ctcp.c	Wed Dec  9 23:18:55 1998
@@ -155,9 +155,9 @@
         /* 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",
+	dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %u %u\001\n",
 		nick,
-		iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
+		(unsigned)iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
 		dcc[i].port);
         return 1;
       }