aboutsummaryrefslogtreecommitdiff
path: root/irc/eggdrop/files/patch-ae
blob: 8c8dd38f8a788bce75770649c3db5dcaef575f92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- eggdrop1.6.15/src/mod/ctcp.mod/ctcp.c.orig	Mon Jun  2 11:27:58 2003
+++ eggdrop1.6.15/src/mod/ctcp.mod/ctcp.c	Mon Jun  2 11:29:29 2003
@@ -160,8 +160,8 @@
         /* 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;
       }