diff options
author | David Phillips <david@sighup.nz> | 2018-09-16 20:35:03 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-16 20:35:03 +1200 |
commit | 5f684115bdef65f387e83ad2dfb70fe6d17ed17e (patch) | |
tree | 6730b0707cc8a0d21ec77ae3f26902aa6e640bd1 | |
parent | 09f1ca71c2652a029577d23b615c1ebfb8d27f71 (diff) | |
download | idalius-5f684115bdef65f387e83ad2dfb70fe6d17ed17e.tar.xz |
Rename config_file.pm to IdaliusConfig.pm
-rw-r--r-- | IdaliusConfig.pm (renamed from config_file.pm) | 2 | ||||
-rwxr-xr-x | idalius.pl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config_file.pm b/IdaliusConfig.pm index 2b7b366..0180569 100644 --- a/config_file.pm +++ b/IdaliusConfig.pm @@ -1,4 +1,4 @@ -package config_file; +package IdaliusConfig; use strict; use warnings; @@ -7,11 +7,11 @@ use POE; use POE::Kernel; use POE::Component::IRC; use POE::Component::IRC::Plugin::NickServID; -use config_file; +use IdaliusConfig; use IRC::Utils qw(strip_color strip_formatting); my $config_file = "bot.conf"; -my %config = config_file::parse_config($config_file); +my %config = IdaliusConfig::parse_config($config_file); my %laststrike = (); my $ping_delay = 300; my %commands = (); @@ -283,7 +283,7 @@ sub irc_invite { sub irc_disconnected { _default(@_); # Dump the message - %config = config_file::parse_config($config_file); + %config = IdaliusConfig::parse_config($config_file); $irc->yield(connect => { }); } |