]> jfr.im git - solanum.git/blobdiff - modules/m_testline.c
s_conf: Don't leak log file paths when loading default conf
[solanum.git] / modules / m_testline.c
index 05b7148b46f2146fba4e29732d98aeb4293c8778..0eb1fcb63a5ef6a702eb25c8942f605a29659ab7 100644 (file)
@@ -149,14 +149,14 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
                        sendto_one(source_p, form_str(RPL_TESTLINE),
                                        me.name, source_p->name,
                                        '!',
-                                       duration / 60,
+                                       duration / 60L,
                                        host, "Reject cache");
                if(aconf == NULL &&
                                (duration = is_throttle_ip((struct sockaddr *)&ip)))
                        sendto_one(source_p, form_str(RPL_TESTLINE),
                                        me.name, source_p->name,
                                        '!',
-                                       duration / 60,
+                                       duration / 60L,
                                        host, "Throttled");
        }