summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 426cbd7899..6719a9745e 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -181,7 +181,7 @@ expand_routing_key_shortcut(<<>>, <<>>,
not_allowed, "no previously declared queue", []);
expand_routing_key_shortcut(<<>>, <<>>,
#ch{ most_recently_declared_queue = MRDQ }) ->
- MRDQ;
+ MRDQ#resource.name;
expand_routing_key_shortcut(_QueueNameBin, RoutingKey, _State) ->
RoutingKey.