git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1466
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2005-08-25 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/channel.c (member_can_send_to_channel): At coekie's
+ suggestion, disallow channel manager talking after Apass is set,
+ so they set and use Upass sooner.
+
+ * ircd/class.c (report_classes): Return links count plus one to
+ match old output.
+
2005-08-25 Michael Poole <mdpoole@troilus.org>
* ircd/channel.c (mode_parse): Accept +A/+U from servers
2005-08-25 Michael Poole <mdpoole@troilus.org>
* ircd/channel.c (mode_parse): Accept +A/+U from servers
assert(0 != member);
/* Discourage using the Apass to get op. They should use the upass. */
assert(0 != member);
/* Discourage using the Apass to get op. They should use the upass. */
- if (IsChannelManager(member) && *member->channel->mode.upass)
+ if (IsChannelManager(member) && member->channel->mode.apass[0])
return 0;
if (IsVoicedOrOpped(member))
return 1;
return 0;
if (IsVoicedOrOpped(member))
return 1;
/*
* If it's moderated, and you aren't a privileged user, you can't
/*
* If it's moderated, and you aren't a privileged user, you can't
*/
if (member->channel->mode.mode & MODE_MODERATED)
return 0;
*/
if (member->channel->mode.mode & MODE_MODERATED)
return 0;
for (cltmp = connClassList; cltmp; cltmp = cltmp->next)
send_reply(sptr, RPL_STATSYLINE, 'Y', ConClass(cltmp), PingFreq(cltmp),
ConFreq(cltmp), MaxLinks(cltmp), MaxSendq(cltmp),
for (cltmp = connClassList; cltmp; cltmp = cltmp->next)
send_reply(sptr, RPL_STATSYLINE, 'Y', ConClass(cltmp), PingFreq(cltmp),
ConFreq(cltmp), MaxLinks(cltmp), MaxSendq(cltmp),
}
/** Return maximum SendQ length for a client.
}
/** Return maximum SendQ length for a client.