diff options
author | Brian Cully <bjc@kublai.com> | 2017-11-12 11:22:24 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2017-11-12 11:48:47 -0500 |
commit | 01fde2b197c3d33d33b8814cdb677f8f262044a0 (patch) | |
tree | 3fffe8fd03bfdd264f16280319c684d69d91b38e /xmpt | |
parent | 95232ea1e6ee1752bed33170e352cbf4bcf49141 (diff) | |
download | xmpt-01fde2b197c3d33d33b8814cdb677f8f262044a0.tar.gz xmpt-01fde2b197c3d33d33b8814cdb677f8f262044a0.zip |
Use qualified stream tag when expecting stream close.
Diffstat (limited to 'xmpt')
-rwxr-xr-x | xmpt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -245,7 +245,7 @@ sub assert_arg { # Stick actual execution in its own package so you don't accidentally # clobber stuff in main while running templates. -package evalpkg; +package evalpkg; # TODO: Make package name dynamic. use MIME::Base64; @@ -277,3 +277,7 @@ sub resourcepart() { sub plain_auth() { MIME::Base64::encode(join("\0", "", bare_jid(), $env{password})); } + +sub stream() { + main::assert_arg('stream', 'stream:stream'); +} |