summaryrefslogtreecommitdiff
path: root/res/res_chan_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_chan_stats.c')
-rw-r--r--res/res_chan_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_chan_stats.c b/res/res_chan_stats.c
index 0f39f071f..a43c564b1 100644
--- a/res/res_chan_stats.c
+++ b/res/res_chan_stats.c
@@ -154,7 +154,7 @@ static int load_module(void)
{
/* You can create a message router to route messages by type */
router = stasis_message_router_create(
- stasis_caching_get_topic(ast_channel_topic_all_cached()));
+ ast_channel_topic_all_cached());
if (!router) {
return AST_MODULE_LOAD_FAILURE;
}