From 7cf8e91ab2a5fc7926631e9abe80e7fd6df8f9e8 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 13 Oct 2013 10:14:20 +0000 Subject: [PATCH] Fix export command factoids/quotegrabs argument --- PBot/BotAdminCommands.pm | 4 ++-- PBot/VERSION.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PBot/BotAdminCommands.pm b/PBot/BotAdminCommands.pm index f9428884..1d5da2e2 100644 --- a/PBot/BotAdminCommands.pm +++ b/PBot/BotAdminCommands.pm @@ -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) { diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 633568e4..e8d004da 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -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;