diff options
author | Peter Powell <petpow@saberuk.com> | 2018-12-13 14:01:17 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-12-13 14:20:43 +0000 |
commit | ee7db9bbfbb5f3bc7359d22e7021415aebddb9d2 (patch) | |
tree | b2a8f23312d173cc1523e3d86273fab9c2430eb0 /src/modules/m_shun.cpp | |
parent | 0f7cfd46ef2d277f5f82e34a2852c75212d75261 (diff) |
Store durations as unsigned long not long in XLine and m_filter.
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r-- | src/modules/m_shun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index da090e4f8..91933e7c4 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -35,7 +35,7 @@ class ShunFactory : public XLineFactory /** Generate a shun */ - XLine* Generate(time_t set_time, long duration, std::string source, std::string reason, std::string xline_specific_mask) CXX11_OVERRIDE + XLine* Generate(time_t set_time, unsigned long duration, const std::string& source, const std::string& reason, const std::string& xline_specific_mask) CXX11_OVERRIDE { return new Shun(set_time, duration, source, reason, xline_specific_mask); } |