DelChannelUser call and semantic fixups
authorMichael Poole <mdpoole@troilus.org>
Sun, 3 Sep 2006 15:21:10 +0000 (15:21 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sun, 3 Sep 2006 15:21:10 +0000 (15:21 +0000)
commit8cb76025c9e5bc7d7f545991299138c85ffc17f2
treee5078880b8d75050d10b2444a28ced78930483a0
parenta0f96731ac90cb0d93918d81ee846cd5b30362ba
DelChannelUser call and semantic fixups

src/hash.c (DelChannel): Fix type of 'reason' arg to DelChannelUser().
  (DelChannelUser): Only send part message if user is local.

src/proto-bahamut.c (DelUser): Unswap arguments to DelChannelUser().
  (cmd_part): Move to proto-common.c.

src/proto-common.c (part_desc): New structure type.
  (part_helper): Use it to capture user and reason.
  (cmd_part): New common function.

src/proto-p10.c (cmd_part): Move to proto-common.c.
  (DelUser): Unswap arguments to DelChannelUser().
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-29
ChangeLog
src/hash.c
src/proto-bahamut.c
src/proto-common.c
src/proto-p10.c