From a550b5c420b74cf9f419c7329ecd0bd5cbafe126 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 3 Oct 2020 01:17:40 -0700 Subject: [PATCH] modules/console: Fix reference to returned array. --- modules/console.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/console.cc b/modules/console.cc index cfa357bdd..dd43deda5 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -14422,7 +14422,7 @@ console_cmd__fed__frontfill(opt &out, const string_view &line) "room_id", "remote", "earliest", "latest", "[limit]", "[min_depth]" }}; - const auto &room_id + const auto room_id { m::room_id(param.at(0)) };