]> jfr.im git - irc/UndernetIRC/gnuworld.git/commitdiff
Fixed bug - X complaining about being deoped when joining a channel
authorMrBean <redacted>
Sat, 17 Mar 2012 08:19:14 +0000 (10:19 +0200)
committerMrBean <redacted>
Sat, 17 Mar 2012 08:19:14 +0000 (10:19 +0200)
mod.cservice/SETCommand.cc

index a976b873ffd8af41a1b3a1bc82df13aada4a3001..51f318bdc6297f42cfab7c57fabca644a2c059e9 100755 (executable)
@@ -799,7 +799,7 @@ else
            {
                theChan->setFlag(sqlChannel::F_AUTOJOIN);
                        theChan->setInChan(true);
-                       bot->Join(theChan->getName(), theChan->getChannelMode(),
+                       bot->Join(theChan->getName(), "+R",
                                theChan->getChannelTS(), false);
                        bot->joinCount++;
                        bot->reopQ.insert(cservice::reopQType::value_type(theChan->getName(), bot->currentTime() + 15) );