Automatically stop most user-oriented hooks if the user becomes dead.
authorMichael Poole <mdpoole@troilus.org>
Sat, 3 Jan 2009 20:12:04 +0000 (15:12 -0500)
committerMichael Poole <mdpoole@troilus.org>
Sat, 3 Jan 2009 20:12:04 +0000 (15:12 -0500)
commit9470338742a22b299e94029bd4b1d5c043fa86e2
treeef8b3ab3614bc40569aed4934da45612e811fea1
parentfe31be6543a6004cb6fbf3554d286e4f4f93a9b8
Automatically stop most user-oriented hooks if the user becomes dead.

src/hash.c (NickChange): Stop iterating if the user is killed by any hook.
  (AddChannelUser): Likewise.
src/nickserv.c (set_user_handle_info): Likewise.
src/proto-common.c (of_list, of_size, of_used, reg_oper_func,
  call_oper_funcs): Move from the proto-*.c files.  Make call_oper_funcs
    stop iterating if the user is killed by any hook.
src/proto-bahahmut.c (AddUser): Likewise.
  (of_list, of_size, of_used, reg_oper_func, call_oper_funcs): Move to
    proto-common.c
src/proto-p10.c: Likewise to proto-bahamut.c.
src/hash.c
src/nickserv.c
src/proto-bahamut.c
src/proto-common.c
src/proto-p10.c