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