mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 19:22:40 +01:00
Registry: remove plugin_dir
This commit is contained in:
parent
f4dbb68221
commit
487c84e824
4
data/registry
vendored
4
data/registry
vendored
@ -225,10 +225,6 @@
|
|||||||
"type" : "text",
|
"type" : "text",
|
||||||
"value" : "chanserv"
|
"value" : "chanserv"
|
||||||
},
|
},
|
||||||
"plugin_dir" : {
|
|
||||||
"type" : "text",
|
|
||||||
"value" : "./Plugins"
|
|
||||||
},
|
|
||||||
"show_url_titles" : {
|
"show_url_titles" : {
|
||||||
"type" : "text",
|
"type" : "text",
|
||||||
"value" : "1"
|
"value" : "1"
|
||||||
|
@ -40,7 +40,6 @@ sub initialize {
|
|||||||
# add default registry items
|
# add default registry items
|
||||||
$self->add_default('text', 'general', 'data_dir', $conf{data_dir});
|
$self->add_default('text', 'general', 'data_dir', $conf{data_dir});
|
||||||
$self->add_default('text', 'general', 'module_dir', $conf{module_dir});
|
$self->add_default('text', 'general', 'module_dir', $conf{module_dir});
|
||||||
$self->add_default('text', 'general', 'plugin_dir', $conf{plugin_dir});
|
|
||||||
$self->add_default('text', 'general', 'update_dir', $conf{update_dir});
|
$self->add_default('text', 'general', 'update_dir', $conf{update_dir});
|
||||||
|
|
||||||
# bot trigger
|
# bot trigger
|
||||||
@ -76,7 +75,6 @@ sub initialize {
|
|||||||
# update important paths
|
# update important paths
|
||||||
$self->set('general', 'data_dir', 'value', $conf{data_dir}, 0, 1);
|
$self->set('general', 'data_dir', 'value', $conf{data_dir}, 0, 1);
|
||||||
$self->set('general', 'module_dir', 'value', $conf{module_dir}, 0, 1);
|
$self->set('general', 'module_dir', 'value', $conf{module_dir}, 0, 1);
|
||||||
$self->set('general', 'plugin_dir', 'value', $conf{plugin_dir}, 0, 1);
|
|
||||||
$self->set('general', 'update_dir', 'value', $conf{update_dir}, 0, 1);
|
$self->set('general', 'update_dir', 'value', $conf{update_dir}, 0, 1);
|
||||||
|
|
||||||
# override registry entries with command-line arguments, if any
|
# override registry entries with command-line arguments, if any
|
||||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
|||||||
# These are set by the /misc/update_version script
|
# These are set by the /misc/update_version script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 4334,
|
BUILD_REVISION => 4335,
|
||||||
BUILD_DATE => "2021-08-01",
|
BUILD_DATE => "2021-08-02",
|
||||||
};
|
};
|
||||||
|
|
||||||
sub initialize {}
|
sub initialize {}
|
||||||
|
Loading…
Reference in New Issue
Block a user