]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Wingate.pl
take a few more things literally
[infobot.git] / src / Modules / Wingate.pl
index f834fb467e19248d109db2e54db50d97f62ac023..da9deed0667cb7e1ea94ab69a3dd0ffd01dc111f 100644 (file)
@@ -72,13 +72,13 @@ sub Wingate {
        if ($wingate) {
            &::status("Wingate: RUNNING ON $host BY $::who.");
 
-           if (&::IsChanConf("wingateBan") > 0) {
-               &::ban("*!*\@$host", "");
+           if (&::IsChanConf('wingateBan') > 0) {
+               &::ban("*!*\@$host", '');
            }
 
-           my $reason  = &::getChanConf("wingateKick");
+           my $reason  = &::getChanConf('wingateKick');
            if ($reason) {
-               &::kick($::who, "", $reason);
+               &::kick($::who, '', $reason);
            }
 
            push(@::wingateBad, "$host\*");