From bc8554e3b5abdcedcceb3f24980068017ba15dc0 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 12 Jun 2013 22:27:49 +0300 Subject: [PATCH] Treat "anyone awake?" as pointless question --- znclinker.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/znclinker.pm b/znclinker.pm index 907309b..85a883d 100755 --- a/znclinker.pm +++ b/znclinker.pm @@ -105,7 +105,7 @@ sub OnChanMsg { $q=~s/[\r\n]//g; $self->put_chan($chan=>"http://wiki.znc.in/$q"); } - if ($what=~/any(?:one|body)\s+(?:around|here)\s*(?:\?|$)/i) { + if ($what=~/any(?:one|body)\s+(?:around|here|awake)\s*(?:\?|$)/i) { $self->put_chan($chan=>"Pointless question detected! $nick, we are not telepaths, please ask a concrete question and wait for an answer. Be sure that you checked http://wiki.znc.in/FAQ before. You may want to read http://catb.org/~esr/faqs/smart-questions.html Sorry if this is false alarm."); } if (my ($issue) = $what=~m@(?:#|https://github.com/znc/znc/(?:issues|pull)/)(\d+)@) {