From ee7db9bbfbb5f3bc7359d22e7021415aebddb9d2 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 13 Dec 2018 14:01:17 +0000 Subject: Store durations as unsigned long not long in XLine and m_filter. --- include/modules/shun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules') diff --git a/include/modules/shun.h b/include/modules/shun.h index 9ce547e2d..1c35e3a74 100644 --- a/include/modules/shun.h +++ b/include/modules/shun.h @@ -33,7 +33,7 @@ class Shun : public XLine * @param re The reason of the xline * @param shunmask Mask to match */ - Shun(time_t s_time, long d, const std::string& src, const std::string& re, const std::string& shunmask) + Shun(time_t s_time, unsigned long d, const std::string& src, const std::string& re, const std::string& shunmask) : XLine(s_time, d, src, re, "SHUN") , matchtext(shunmask) { -- cgit v1.3.1-10-gc9f91