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:
parent
32385ec691
commit
7cf8e91ab2
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user