]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Wingate.pl
* Rebranding from blootbot to infobot
[infobot.git] / src / Modules / Wingate.pl
index bb93593bf4f7176ad85a7577a31e86f978b40677..1c3ab1ce470f95c29626c0afb5cb93cbf8cdb0fd 100644 (file)
@@ -12,7 +12,7 @@ use strict;
 my $select = IO::Select->new;
 
 sub Wingates {
-    my $file = "$::blootbot_base_dir/$::param{'ircUser'}.wingate";
+    my $file = "$::infobot_base_dir/$::param{'ircUser'}.wingate";
     my @hosts;
 
     open(IN, $file);
@@ -73,7 +73,7 @@ sub Wingate {
            &::status("Wingate: RUNNING ON $host BY $::who.");
 
            if (&::IsChanConf('wingateBan') > 0) {
-               &::ban("*!*\@$host", "");
+               &::ban("*!*\@$host", '');
            }
 
            my $reason  = &::getChanConf('wingateKick');