summaryrefslogtreecommitdiff
path: root/src/perl/irc/Notifylist.xs
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2007-10-31 22:58:44 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-10-31 22:58:44 +0000
commit78dad04c7b21342c9b6dddc7ea9f1b34f61e6984 (patch)
tree4432b0b216434973eaa0a24a991daa9e8e74c816 /src/perl/irc/Notifylist.xs
parentd9782fab84a66a04eb42bb8804236a860b799574 (diff)
downloadirssi-78dad04c7b21342c9b6dddc7ea9f1b34f61e6984.zip
Remove /notify -idle, it can only work with not-nice automated remote whois.
(causes infrequent "server load too heavy" etc) If people really want this, they should write a script. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
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)