mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
Fix option irc.network.away_check
This commit is contained in:
@@ -522,6 +522,9 @@ hook_timer (struct t_weechat_plugin *plugin, long interval, int align_second,
|
||||
struct t_hook_timer *new_hook_timer;
|
||||
struct timezone tz;
|
||||
|
||||
if (interval <= 0)
|
||||
return NULL;
|
||||
|
||||
new_hook = malloc (sizeof (*new_hook));
|
||||
if (!new_hook)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user