aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config_file.pm (renamed from sb_config.pm)2
-rwxr-xr-xidalius.pl6
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;
diff --git a/idalius.pl b/idalius.pl
index dbfb6d2..cc6b150 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -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 => { });
}