mirror of
https://github.com/pragma-/pbot.git
synced 2024-10-04 18:38:47 +02: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) {
|
if($#quotes < 0) {
|
||||||
my $result = "No quotes grabbed ";
|
my $result = "No quotes grabbed ";
|
||||||
|
|
||||||
if($channel_search ne '.*') {
|
|
||||||
$result .= "in $channel_search ";
|
|
||||||
}
|
|
||||||
|
|
||||||
if($nick_search ne '.*') {
|
if($nick_search ne '.*') {
|
||||||
$result .= "for $nick_search ";
|
$result .= "for $nick_search ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($channel_search ne '.*') {
|
||||||
|
$result .= "in $channel_search ";
|
||||||
|
}
|
||||||
|
|
||||||
if($text_search ne '.*') {
|
if($text_search ne '.*') {
|
||||||
$result .= "matching '$text_search' ";
|
$result .= "matching '$text_search' ";
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ use warnings;
|
|||||||
# These are set automatically by the build/commit script
|
# These are set automatically by the build/commit script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 480,
|
BUILD_REVISION => 481,
|
||||||
BUILD_DATE => "2014-02-10",
|
BUILD_DATE => "2014-02-10",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user