3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 11:12:42 +01:00

Fix export command factoids/quotegrabs argument

This commit is contained in:
Pragmatic Software 2013-10-13 10:14:20 +00:00
parent 32385ec691
commit 7cf8e91ab2
2 changed files with 4 additions and 4 deletions

View File

@ -177,11 +177,11 @@ sub export {
}
if($arguments =~ /^quotegrabs$/i) {
return PBot::Quotegrabs::export_quotegrabs();
return $self->{pbot}->quotegrabs->export_quotegrabs;
}
if($arguments =~ /^factoids$/i) {
return PBot::Factoids::export_factoids();
return $self->{pbot}->factoids->export_factoids;
}
if($arguments =~ /^admins$/i) {

View File

@ -13,8 +13,8 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 447,
BUILD_DATE => "2013-10-12",
BUILD_REVISION => 448,
BUILD_DATE => "2013-10-13",
};
1;