mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 11:12:42 +01:00
Modules: fix load
command
This commit is contained in:
parent
f6665969ac
commit
f286ff44a0
@ -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);
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user