aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 7016d04..479f2ca 100644
--- a/commands.c
+++ b/commands.c
@@ -356,8 +356,8 @@ int kill_old_command(struct string sender, struct string original_message, struc
return 0;
}
- char err;
uint64_t current_time = (uint64_t)time(0);
+ char err;
uint64_t age = str_to_unsigned(argv[1], &err);
if (err) {
privmsg(STRING("1HC000000"), to, 1, (struct string[]){STRING("Invalid age!")});