mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Fix export command factoids/quotegrabs argument
This commit is contained in:
parent
32385ec691
commit
7cf8e91ab2
@ -177,11 +177,11 @@ sub export {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($arguments =~ /^quotegrabs$/i) {
|
if($arguments =~ /^quotegrabs$/i) {
|
||||||
return PBot::Quotegrabs::export_quotegrabs();
|
return $self->{pbot}->quotegrabs->export_quotegrabs;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($arguments =~ /^factoids$/i) {
|
if($arguments =~ /^factoids$/i) {
|
||||||
return PBot::Factoids::export_factoids();
|
return $self->{pbot}->factoids->export_factoids;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($arguments =~ /^admins$/i) {
|
if($arguments =~ /^admins$/i) {
|
||||||
|
@ -13,8 +13,8 @@ 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 => 447,
|
BUILD_REVISION => 448,
|
||||||
BUILD_DATE => "2013-10-12",
|
BUILD_DATE => "2013-10-13",
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user