diff options
author | David Phillips <david@sighup.nz> | 2017-03-27 15:22:56 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-03-27 15:22:56 +1300 |
commit | 753cd376d775fcb27a95bd780a554808c64cd05a (patch) | |
tree | 66e54726dab89581447aa1ea5fd9a5c6e7bc02c5 | |
parent | b0f83d8e448c6ab65c6aff6050e63b2c8c7c2b9d (diff) | |
download | idalius-753cd376d775fcb27a95bd780a554808c64cd05a.tar.xz |
Rename old saxrobot/saxbot sb_config to more appropriate name
-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 => { }); } |