Skip to content

Commit

Permalink
Merge commit 'refs/pull/4/head' of github.com:DarthGandalf/znclinker
Browse files Browse the repository at this point in the history
Conflicts:
	znclinker.pm
  • Loading branch information
DarthGandalf committed Oct 22, 2013
2 parents bc6f036 + 65b8591 commit 90984bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions znclinker.pm
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ sub OnChanMsg {
} unless $regexError;

if (my ($to) = $what=~/^!q\s+(\S+)/) {
$self->put_chan($chan=>"$to, 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");
$self->put_chan($chan=>"$to, we are not telepaths, please ask a concrete question and wait for an answer. Be sure that you have checked http://wiki.znc.in/FAQ first. You may want to read http://catb.org/~esr/faqs/smart-questions.html");
}
if (my ($to) = $what=~/^!d\s+(\S+)/) {
$self->put_chan($chan=>"$to, when asking for help, be sure to provide as much details as possible. What did you try to do, how exactly did you try it (step by step), all error messages, znc version, etc. Without it, the only possible answer is '$to, you're doing something wrong.'");
$self->put_chan($chan=>"$to, when asking for help, be sure to provide as many details as possible: What did you try to do, how exactly did you try it (step by step), all error messages, ZNC version, etc. Without details, the only possible answer is '$to, you're doing something wrong.'");
}
if (my ($to) = $what=~/^!request(?:\s+(\S+))?/) {
$to = $to // $nick;
$self->put_chan($chan=>"$to, ZNC is free software. Just install and use it. If you wanted free BNC account instead, go somewhere else. http://wiki.znc.in/Providers may be a good start.");
$self->put_chan($chan=>"$to, ZNC is free software. Just install and use it. If you wanted a free BNC account instead, go somewhere else. http://wiki.znc.in/Providers may be a good start.");
}
if ($what=~/^!win/) {
$self->put_chan($chan=>'ZNC for Windows: http://code.google.com/p/znc-msvc/wiki/WikiStart?tm=6');
Expand All @@ -106,7 +106,7 @@ sub OnChanMsg {
$self->put_chan($chan=>"http://wiki.znc.in/$q");
}
if ($what=~/(?:any|some)(?:one|body)\s+(?:alive|around|awake|here|home|in|there)\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.");
$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 have checked http://wiki.znc.in/FAQ first. You may want to read http://catb.org/~esr/faqs/smart-questions.html Sorry if this is a false alarm.");
}
if (my ($issue) = $what=~m@(?:#|https://github.com/znc/znc/(?:issues|pull)/)(\d+)@) {
$self->CreateSocket('znclinker::github', $issue, $self->GetNetwork, $chan);
Expand Down

0 comments on commit 90984bc

Please sign in to comment.