From f286ff44a067e51694d8f57b46549e64e2327ee9 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 2 Aug 2021 17:53:16 -0700 Subject: [PATCH] Modules: fix `load` command --- lib/PBot/Core/Commands/Modules.pm | 2 +- lib/PBot/VERSION.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PBot/Core/Commands/Modules.pm b/lib/PBot/Core/Commands/Modules.pm index fa9f7541..01b969ee 100644 --- a/lib/PBot/Core/Commands/Modules.pm +++ b/lib/PBot/Core/Commands/Modules.pm @@ -34,7 +34,7 @@ sub cmd_load { return 'There is already a keyword named ' . $factoids->get_data('.*', $keyword, '_name') . '.'; } - $self->{pbot}->{factoids}->{data}->add_factoid('module', '.*', $context->{hostmask}, $keyword, $module, 1); + $self->{pbot}->{factoids}->{data}->add('module', '.*', $context->{hostmask}, $keyword, $module, 1); $factoids->set('.*', $keyword, 'add_nick', 1, 1); $factoids->set('.*', $keyword, 'nooverride', 1); diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 7eb315ac..7ad32d10 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4335, + BUILD_REVISION => 4339, BUILD_DATE => "2021-08-02", };