diff options
author | John Kohl <jtkohl@mit.edu> | 1988-06-21 13:31:15 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-06-21 13:31:15 +0000 |
commit | 476b9c6c7db7de18c937f5da17714c4404793307 (patch) | |
tree | 7d7c71f13c60e9124ba8387a8327e5857b33e89d /server/dispatch.c | |
parent | 144c927f8aa9c7fac185048fcc81a59619abcd18 (diff) |
call subscr_sendlist for GIMMESUBS and GIMMEDEFS
Diffstat (limited to 'server/dispatch.c')
-rw-r--r-- | server/dispatch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index 11e5b04..e42258c 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -692,7 +692,8 @@ ZServerDesc_t *server; if (!strcmp(notice->z_class_inst, ZEPHYR_CTL_HM)) return(hostm_dispatch(notice, auth, who, server)); - else if (!strcmp(opcode, CLIENT_GIMMESUBS)) { + else if (!strcmp(opcode, CLIENT_GIMMESUBS) || + !strcmp(opcode, CLIENT_GIMMEDEFS)) { /* this special case is before the auth check so that someone who has no subscriptions does NOT get a SERVNAK but rather an empty list. Note we must therefore |