summaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-03 15:54:28 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-03 15:54:28 +0200
commit886f1ba488a5ab9d7fe4d7b4ac6b9c9dc2841738 (patch)
tree02eabf80806341753a17e6d1e68cacbc41ee484c /src/modules/m_shun.cpp
parent2bcb73e8339d4ad9db6c0e9cd1307b522f3fcde5 (diff)
Convert InspIRCd::Duration() to be static
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index baeb6215f..bf31cd70e 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -124,11 +124,11 @@ class CommandShun : public Command
else
{
// Adding - XXX todo make this respect <insane> tag perhaps..
- long duration;
+ unsigned long duration;
std::string expr;
if (parameters.size() > 2)
{
- duration = ServerInstance->Duration(parameters[1]);
+ duration = InspIRCd::Duration(parameters[1]);
expr = parameters[2];
}
else