]> git.donarmstrong.com Git - infobot.git/blobdiff - src/IRC/IrcHelpers.pl
- added support/hack for channel +o as "+o" in bot user file.
[infobot.git] / src / IRC / IrcHelpers.pl
index 53d3db7f71b19895f7b43d2b44ce607ba15c7a8f..68ea16466d0e8da05ca4da29635fe2a711448dea 100644 (file)
@@ -314,7 +314,7 @@ sub chanLimitVerify {
     &status("clc: big change in limit for $chan ($delta);".
                "going for it. (was: $l; now: ".($count+$plus).")");
 
-    &rawout("MODE $chan +l ".($count+$plus) );
+    $conn->mode($chan, "+l", $count+$plus);
     $cache{chanlimitChange}{$chan} = time();
 }
 
@@ -338,7 +338,7 @@ sub chanServCheck {
 
     if ( &IsParam("nickServ_pass") and !$nickserv) {
        &DEBUG("chanServ_ops($chan): nickserv enabled but not alive? (ircCheck)");
-       &rawout("WHO NickServ");
+       $conn->who("NickServ");
        return 0;
     }
     # check for first hash then for next hash.