summaryrefslogtreecommitdiff
path: root/cpp/rubygen/amqpgen.rb
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/rubygen/amqpgen.rb')
-rwxr-xr-xcpp/rubygen/amqpgen.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/amqpgen.rb b/cpp/rubygen/amqpgen.rb
index bf473506d4..76685aa45b 100755
--- a/cpp/rubygen/amqpgen.rb
+++ b/cpp/rubygen/amqpgen.rb
@@ -341,7 +341,7 @@ class AmqpClass < AmqpElement
end
def l4?() # preview
- !["connection", "session", "execution"].include?(name)
+ !["connection", "session", "execution"].include?(name) && !control?
end
def control?()