From: djmcgrath Date: Fri, 2 Nov 2007 05:59:15 +0000 (+0000) Subject: * Removed old reference to chanServ_ops in docs X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6241b6bc5e2becb3674362d326c74e28817dbbf2;p=infobot.git * Removed old reference to chanServ_ops in docs * Fixed chanServCheck to allow excluding channel with 0 as per FAQ git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1616 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/doc/infobot.config.pod b/doc/infobot.config.pod index ba1d566..584bba7 100644 --- a/doc/infobot.config.pod +++ b/doc/infobot.config.pod @@ -76,13 +76,6 @@ I If the server your bot is connecting to supports nick services, you can set the password here that will be used to identify itself with. -=item B EB<#chan1>E [EB<#chan2>E ... EB<#chanN>E] - -If the server your bot is connecting to supports channel services, you can set -a space seperated list of channels that the bot should automatically request -B in. Currently, the bot uses the format: S> -for each channel in the list, after it has sucessfully joined the channel. - =item B EBE When your bot intentionally disconnects from a server, it will display the diff --git a/src/IRC/IrcHelpers.pl b/src/IRC/IrcHelpers.pl index f3cb96f..edd1714 100644 --- a/src/IRC/IrcHelpers.pl +++ b/src/IRC/IrcHelpers.pl @@ -353,7 +353,7 @@ sub chanServCheck { return 0; } - return unless (&IsChanConf('chanServCheck')); + return unless (&IsChanConf('chanServCheck') > 0); &VERB("chanServCheck($chan) called.",2);