Committer : Tim Ireland <dar...@us...>
CVSROOT : /cvsroot/sithnet-dev
Module : gnuworld-sithnet
Commit time: 2003-10-24 17:43:46 UTC
Modified files:
mod.cservice/cservice.cc
Log message:
oops...
---------------------- diff included ----------------------
Index: gnuworld-sithnet/mod.cservice/cservice.cc
diff -u gnuworld-sithnet/mod.cservice/cservice.cc:1.2 gnuworld-sithnet/mod.cservice/cservice.cc:1.3
--- gnuworld-sithnet/mod.cservice/cservice.cc:1.2 Fri Oct 24 10:31:45 2003
+++ gnuworld-sithnet/mod.cservice/cservice.cc Fri Oct 24 10:43:36 2003
@@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
- * $Id: cservice.cc,v 1.2 2003/10/24 17:31:45 darthsidious_ Exp $
+ * $Id: cservice.cc,v 1.3 2003/10/24 17:43:36 darthsidious_ Exp $
*/
#include <new>
@@ -2833,12 +2833,12 @@
/* Check we're actually opped first.. */
ChannelUser* tmpBotUser = theChan->findUser(getInstance());
-if( !tmpBotUser || !tmpBotUser->getMode(ChannelUser::MODE_V) )
+if( !tmpBotUser || !tmpBotUser->getMode(ChannelUser::MODE_O) )
{
return;
}
-vector< iClient* > deopList;
+vector< iClient* > devoiceList;
for( Channel::const_userIterator ptr = theChan->userList_begin();
ptr != theChan->userList_end() ; ++ptr )
@@ -2848,9 +2848,9 @@
/* Don't devoice +k things */
if ( !ptr->second->getClient()->getMode(iClient::MODE_SERVICES) )
- deopList.push_back( ptr->second->getClient() );
+ devoiceList.push_back( ptr->second->getClient() );
- } // If opped.
+ } // If voiced.
}
if( !devoiceList.empty() )
@@ -2905,7 +2905,7 @@
/* Check we're actually opped first.. */
ChannelUser* tmpBotUser = theChan->findUser(getInstance());
-if(! tmpBotUser || !tmpBotUser->getMode(ChannelUser::MODE_V))
+if(! tmpBotUser || !tmpBotUser->getMode(ChannelUser::MODE_O))
{
return;
}
----------------------- End of diff -----------------------
|