Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_create.c
index 02cf2a5aa1f7a08f8739023f37515dfae47803c3..7f8689c9b035e553e4eddc3fbd164a66c9adb828 100644 (file)
@@ -134,9 +134,11 @@ int ms_create(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 
   /* If this server is >1 minute fast, warn */
   if (TStime() - chanTS<-60) {
-    static int rate;
-    sendto_opmask_butone_ratelimited(0,SNO_NETWORK,&rate,
-       "Timestamp drift from %C (%is)",sptr,chanTS-TStime());
+    static time_t rate;
+    sendto_opmask_butone_ratelimited(0, SNO_NETWORK, &rate,
+                                    "Timestamp drift from %C (%is)",
+                                    cli_user(sptr)->server,
+                                    chanTS - TStime());
 
     /* If this server is >5 minutes fast, squit it */
     if (TStime() - chanTS<-5*60*60)