Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Tue, 24 Oct 2000 21:05:00 +0000 (21:05 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Tue, 24 Oct 2000 21:05:00 +0000 (21:05 +0000)
commitee253ae1fa128f1dabe397f85e4740dfe8c3eacb
treebec256dabddb66d95753f7e7b35550de1659e72f
parent5bfe630a8983676d61728547bd74a526185b8cb4
Author: Kev <klmitch@mit.edu>
Log message:

* ircd/channel.c: ok, now last mode rules; mode +ps will always
result in +s (and won't send a mode if the channel is already +s);
mode +sp will always result in +p; -n+n on a +n channel results in
no mode change; -n+n on a -n channel results in a +n mode change;
etc.

Status: stable; I don't expect there will be any more problems besides bugs

Testing done: Simple modes conform to the behavior I expect, i.e., last
  mode takes precedence.  No empty mode commands are forwarded to remote
  servers.  +p and +s are mutually exclusive.  No unset modes are removed.

Testing needed: Brute force check it and report any problems; I'm
  particularly concerned with BURSTs and server MODEs, though reports on
  OPMODE and user MODEs will also need to be considered.  It should work.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@299 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
ircd/channel.c