aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-03-27 15:22:56 +1300
committerDavid Phillips <david@sighup.nz>2017-03-27 15:22:56 +1300
commit753cd376d775fcb27a95bd780a554808c64cd05a (patch)
tree66e54726dab89581447aa1ea5fd9a5c6e7bc02c5
parentb0f83d8e448c6ab65c6aff6050e63b2c8c7c2b9d (diff)
downloadidalius-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-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 => { });
}