diff options
author | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-02-07 16:43:46 -0500 |
---|---|---|
committer | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-02-14 19:57:32 -0500 |
commit | f33026a3f80b7ed827a0539c65b44a290dbc7424 (patch) | |
tree | 4ded904f3ab3e373fa936ed5dbc74e7b0f415ed3 /server/dispatch.c | |
parent | f61ee33be0dde91bc33772fabe3300d98527b29e (diff) |
server: Send SERVACK in response to GIMMESUBS
When processing a request to retrieve subscriptions, we actually do need
to send a SERVACK in response to the incoming notice before sending the
subscription list (directly) to the client that requested it. The line
that did this was inadvertently removed when the OLD_COMPAT support was
removed in commit 9b709859db5310444052d13ed8ebccec6ead1669.
This fixes #91
Diffstat (limited to 'server/dispatch.c')
-rw-r--r-- | server/dispatch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index 8b9507a..256a786 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -990,6 +990,7 @@ control_dispatch(ZNotice_t *notice, someone who has no subscriptions does NOT get a SERVNAK but rather an empty list. Note we must therefore check authentication inside subscr_sendlist */ + ack(notice, who); subscr_sendlist(notice, auth, who); return ZERR_NONE; } else if (!auth) { |