mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
Show nick before channel in rq
command when no quotes found
This commit is contained in:
parent
6d8fac71fb
commit
4c4bdd9188
@ -450,14 +450,14 @@ sub show_random_quotegrab {
|
||||
if($#quotes < 0) {
|
||||
my $result = "No quotes grabbed ";
|
||||
|
||||
if($channel_search ne '.*') {
|
||||
$result .= "in $channel_search ";
|
||||
}
|
||||
|
||||
if($nick_search ne '.*') {
|
||||
$result .= "for $nick_search ";
|
||||
}
|
||||
|
||||
|
||||
if($channel_search ne '.*') {
|
||||
$result .= "in $channel_search ";
|
||||
}
|
||||
|
||||
if($text_search ne '.*') {
|
||||
$result .= "matching '$text_search' ";
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 480,
|
||||
BUILD_REVISION => 481,
|
||||
BUILD_DATE => "2014-02-10",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user