+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
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;
+
/*
* If it's moderated, and you aren't a privileged user, you can't
- * speak.
+ * speak.
*/
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),
- Links(cltmp));
+ Links(cltmp) + 1);
}
/** Return maximum SendQ length for a client.