3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-05 19:49:32 +01:00

Modules: fix load command

This commit is contained in:
Pragmatic Software 2021-08-02 17:53:16 -07:00
parent f6665969ac
commit f286ff44a0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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",
};