[srvx-commits] CVS: services/src chanserv.c,1.292,1.293 chanserv.help,1.39,1.40
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-10-21 02:59:52
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv30246/src
Modified Files:
chanserv.c chanserv.help
Log Message:
Fix DynLimit so it updates even without a channel limit on parts (as it does with joins), but not in join flooded channels.
Document the !uset command.
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.292
retrieving revision 1.293
diff -C2 -r1.292 -r1.293
*** chanserv.c 21 Oct 2002 02:27:49 -0000 1.292
--- chanserv.c 21 Oct 2002 02:59:48 -0000 1.293
***************
*** 6127,6131 ****
cData = channel->channel_info;
! if((cData->flags & CHANNEL_DYNAMIC_LIMIT) && cData->limit)
{
/* Allow for a bit of padding so that the limit doesn't
--- 6127,6131 ----
cData = channel->channel_info;
! if((cData->flags & CHANNEL_DYNAMIC_LIMIT) && !channel->join_flooded)
{
/* Allow for a bit of padding so that the limit doesn't
Index: chanserv.help
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.help,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** chanserv.help 7 Sep 2002 02:31:33 -0000 1.39
--- chanserv.help 21 Oct 2002 02:59:49 -0000 1.40
***************
*** 349,353 ****
"$bIRCOP ONLY$b:",
"NODELETE: Prevents channel deletion.",
- "$bNote:$b For DynLimit to work, you must also include a limit in the Modes setting. For example, +l 100.",
"$uSee Also:$u set pubcmd, set strictop, set autoop, set enfmodes, set enftopic, set protect, set toys, set setters, set topicrefresh, set ctcpusers, set ctcpreaction");
"SET DEFAULTTOPIC" ("$bSET DEFAULTTOPIC$b",
--- 349,352 ----
***************
*** 509,512 ****
--- 508,518 ----
"Executes the $bup$b command for each channel you have access in.",
"$uSee Also:$u up, down, downall");
+ "USET" ("/msg $C USET [<option> [<setting>]]",
+ "The $buset$b command allows you to toggle various channel user settings. With no arguments, it will print the current values of all channel user options.",
+ "$bOptions:$b",
+ "NOAUTOOP: Enable or disable ChanServ automatically opping you upon joining or authenticating.",
+ "AUTOINVITE: ChanServ will invite you to +i/+k channels which you have access to and are not in when you authenticate if this setting is on.",
+ "NOTE: The NoAutoOp setting is equivalent to the !togop command in previous versions of srvx.",
+ "$uSee Also:$u set");
"USERS" ("/msg $C USERS <#channel>",
"Displays the userlist for the specified channel.",
|