summaryrefslogtreecommitdiff
path: root/src/perl/irc/Notifylist.xs
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/irc/Notifylist.xs')
-rw-r--r--src/perl/irc/Notifylist.xs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/perl/irc/Notifylist.xs b/src/perl/irc/Notifylist.xs
index 33f8a9ac..192489cc 100644
--- a/src/perl/irc/Notifylist.xs
+++ b/src/perl/irc/Notifylist.xs
@@ -18,6 +18,12 @@ notifylist_add(mask, ircnets, away_check, idle_check_time)
char *ircnets
int away_check
int idle_check_time
+CODE:
+ if (idle_check_time != 0)
+ croak("Notify -idle has been removed");
+ RETVAL = notifylist_add(mask, ircnets, away_check);
+OUTPUT:
+ RETVAL
void
notifylist_remove(mask)