summaryrefslogtreecommitdiff
path: root/main/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/message.c')
-rw-r--r--main/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/message.c b/main/message.c
index c4d2c4372..1e575f2e2 100644
--- a/main/message.c
+++ b/main/message.c
@@ -616,7 +616,7 @@ static struct ast_channel *create_msg_q_chan(void)
ast_channel_unlink(chan);
- chan->tech = &msg_chan_tech_hack;
+ ast_channel_tech_set(chan, &msg_chan_tech_hack);
if (!(ds = ast_datastore_alloc(&msg_datastore, NULL))) {
ast_hangup(chan);