diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-03-06 18:45:47 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-03-06 18:45:47 +0000 |
commit | bd8712dde1b4d9ad2ee261811bf41163e28f02cd (patch) | |
tree | e6a876c74f8aa49b0d7eee95720797ceb6236bce /src/irc | |
parent | abb28cae201b26d29fdc129b0562a35edb613696 (diff) | |
download | irssi-bd8712dde1b4d9ad2ee261811bf41163e28f02cd.zip |
Fix memleak in several commands that used cmd_return_error when they should be using cmd_param_error, by Toby Peterson (Bug 213)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3715 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/notifylist/notify-commands.c | 2 |
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; |