summaryrefslogtreecommitdiff
path: root/src/irc/notifylist/notify-whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/notifylist/notify-whois.c')
-rw-r--r--src/irc/notifylist/notify-whois.c2
1 files changed, 1 insertions, 1 deletions
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);