summaryrefslogtreecommitdiff
path: root/src/irc/notifylist/notify-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/notifylist/notify-commands.c')
-rw-r--r--src/irc/notifylist/notify-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/notifylist/notify-commands.c b/src/irc/notifylist/notify-commands.c
index 94a6ead1..ea85329a 100644
--- a/src/irc/notifylist/notify-commands.c
+++ b/src/irc/notifylist/notify-commands.c
@@ -48,7 +48,7 @@ static void cmd_notify(gchar *data)
idle_check_time = settings_get_time("notify_idle_time");
else {
if (!parse_time_interval(idletime, &idle_check_time))
- cmd_return_error(CMDERR_INVALID_TIME);
+ cmd_param_error(CMDERR_INVALID_TIME);
}
away_check = g_hash_table_lookup(optlist, "away") != NULL;