summaryrefslogtreecommitdiff
path: root/modules/core/os_chankill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_chankill.cpp')
-rw-r--r--modules/core/os_chankill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_chankill.cpp b/modules/core/os_chankill.cpp
index 04ce6603c..81b15710a 100644
--- a/modules/core/os_chankill.cpp
+++ b/modules/core/os_chankill.cpp
@@ -44,7 +44,7 @@ class CommandOSChanKill : public Command
return MOD_CONT;
}
else if (expires > 0)
- expires += time(NULL);
+ expires += Anope::CurTime;
if (params.size() <= last_param)
{