summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-12-13 14:01:17 +0000
committerPeter Powell <petpow@saberuk.com>2018-12-13 14:20:43 +0000
commitee7db9bbfbb5f3bc7359d22e7021415aebddb9d2 (patch)
treeb2a8f23312d173cc1523e3d86273fab9c2430eb0 /include/modules
parent0f7cfd46ef2d277f5f82e34a2852c75212d75261 (diff)
Store durations as unsigned long not long in XLine and m_filter.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/shun.h2
1 files changed, 1 insertions, 1 deletions
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)
{