Skip to content

Commit

Permalink
Treat "anyone awake?" as pointless question
Browse files Browse the repository at this point in the history
  • Loading branch information
psychon committed Jun 12, 2013
1 parent 6106865 commit bc8554e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znclinker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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+)@) {
Expand Down

0 comments on commit bc8554e

Please sign in to comment.