diff options
Diffstat (limited to 'src/irc/notifylist')
-rw-r--r-- | src/irc/notifylist/notify-commands.c | 2 | ||||
-rw-r--r-- | src/irc/notifylist/notify-whois.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/notifylist/notify-commands.c b/src/irc/notifylist/notify-commands.c index 9ae5a076..af022dcd 100644 --- a/src/irc/notifylist/notify-commands.c +++ b/src/irc/notifylist/notify-commands.c @@ -42,7 +42,7 @@ static void cmd_notify(gchar *data) if (stristr(args, "-idle") == NULL) idle_check_time = 0; else { - idle_check_time = is_numeric(idletime, 0) ? (atol(idletime)*60) : + idle_check_time = is_numeric(idletime, 0) ? (atoi(idletime)*60) : (settings_get_int("notify_idle_time")*60); } diff --git a/src/irc/notifylist/notify-whois.c b/src/irc/notifylist/notify-whois.c index 439a8af8..c8191b57 100644 --- a/src/irc/notifylist/notify-whois.c +++ b/src/irc/notifylist/notify-whois.c @@ -78,7 +78,7 @@ static void event_whois_idle(const char *data, IRC_SERVER_REC *server) g_return_if_fail(data != NULL); params = event_get_params(data, 3, NULL, &nick, &secstr); - secs = atol(secstr); + secs = atoi(secstr); notify = notifylist_find(nick, server->connrec->ircnet); nickrec = notify_nick_find(server, nick); |