summaryrefslogtreecommitdiffstats
path: root/socket_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket_server.c')
-rw-r--r--socket_server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/socket_server.c b/socket_server.c
index 77e5309..4619f60 100644
--- a/socket_server.c
+++ b/socket_server.c
@@ -654,10 +654,11 @@ int admin_message_to_join(struct admin_msg *msg, struct admin_list *admin)
* no ref given for *_ack */
if (msg->type == MESSAGE_BCHANNEL)
if (msg->param.bchannel.type == BCHANNEL_ASSIGN_ACK
- || msg->param.bchannel.type == BCHANNEL_REMOVE_ACK)
+ || msg->param.bchannel.type == BCHANNEL_REMOVE_ACK
+ || msg->param.bchannel.type == BCHANNEL_RELEASE)
{
/* no ref, but address */
- message_bchannel_from_join(NULL, msg->param.bchannel.type, msg->param.bchannel.handle);
+ message_bchannel_from_remote(NULL, msg->param.bchannel.type, msg->param.bchannel.handle);
return(0);
}