mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 11:12:42 +01:00
pbot: correct default config directory
This commit is contained in:
parent
d62e77c29d
commit
aaa261b66e
@ -67,7 +67,7 @@ sub initialize {
|
|||||||
|
|
||||||
my $log_file = delete $conf{log_file};
|
my $log_file = delete $conf{log_file};
|
||||||
|
|
||||||
$self->{conf_dir} = delete $conf{conf_dir} || "$ENV{HOME}/pbot/data";
|
$self->{conf_dir} = delete $conf{conf_dir} || "$ENV{HOME}/pbot/config";
|
||||||
$self->{data_dir} = delete $conf{data_dir} || "$ENV{HOME}/pbot/data";
|
$self->{data_dir} = delete $conf{data_dir} || "$ENV{HOME}/pbot/data";
|
||||||
$self->{module_dir} = delete $conf{module_dir} || "$ENV{HOME}/pbot/modules";
|
$self->{module_dir} = delete $conf{module_dir} || "$ENV{HOME}/pbot/modules";
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ use warnings;
|
|||||||
# These are set automatically by the build/commit script
|
# These are set automatically by the build/commit script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 265,
|
BUILD_REVISION => 266,
|
||||||
BUILD_DATE => "2011-01-26",
|
BUILD_DATE => "2011-01-26",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user