]> git.donarmstrong.com Git - infobot.git/commitdiff
* Removed old reference to chanServ_ops in docs
authordjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 2 Nov 2007 05:59:15 +0000 (05:59 +0000)
committerdjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 2 Nov 2007 05:59:15 +0000 (05:59 +0000)
* 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

doc/infobot.config.pod
src/IRC/IrcHelpers.pl

index ba1d5665f70583360019cd6cd10e4803a2624730..584bba7108d9583a2ff85b88ed2bb20866a6629b 100644 (file)
@@ -76,13 +76,6 @@ I<FIXME: Does this actually do anything yet?>
 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<set chanServ_ops> E<lt>B<#chan1>E<gt> [E<lt>B<#chan2>E<gt> ... E<lt>B<#chanN>E<gt>]
-
-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<OP> in. Currently, the bot uses the format: S<C</msg chanserv OP #channel>>
-for each channel in the list, after it has sucessfully joined the channel.
-
 =item B<set quitMsg> E<lt>B<quit message>E<gt>
 
 When your bot intentionally disconnects from a server, it will display the
index f3cb96fb85a389e863b4894e2289009a3d0b6cf2..edd1714f8c33a49635a28df39724cffc9c5cd207 100644 (file)
@@ -353,7 +353,7 @@ sub chanServCheck {
        return 0;
     }
 
-    return unless (&IsChanConf('chanServCheck'));
+    return unless (&IsChanConf('chanServCheck') > 0);
 
     &VERB("chanServCheck($chan) called.",2);