diff options
-rw-r--r-- | config_file.pm (renamed from sb_config.pm) | 2 | ||||
-rwxr-xr-x | idalius.pl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sb_config.pm b/config_file.pm index a6ac9cb..fe23b89 100644 --- a/sb_config.pm +++ b/config_file.pm @@ -1,6 +1,6 @@ #!/usr/bin/env perl -package sb_config; +package config_file; use strict; use warnings; @@ -7,10 +7,10 @@ use POE; use POE::Kernel; use POE::Component::IRC; use POE::Component::IRC::Plugin::NickServID; -use sb_config; +use config_file; my $config_file = "bot.conf"; -my %config = sb_config::parse_config($config_file); +my %config = config_file::parse_config($config_file); my $current_nick = $config{nick}; @@ -188,7 +188,7 @@ sub irc_msg { } sub irc_disconnected { - %config = sb_config::parse_config($config_file); + %config = config_file::parse_config($config_file); $irc->yield(connect => { }); } |