summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-10-21 19:25:19 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-10-21 19:25:19 +0200
commit054426518ababc109a6d5c3df86e9da7e258885b (patch)
treeace56c6edd067c213ef0d1d598851fb1f34ab1f6
parent217cdb9b3c2057615cdf7167f1c2d6f8a9be18fe (diff)
Remove now unused msgtype capture from message regex
-rwxr-xr-xbin/mqtt-multipub2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mqtt-multipub b/bin/mqtt-multipub
index 9a94b8f..8fa622f 100755
--- a/bin/mqtt-multipub
+++ b/bin/mqtt-multipub
@@ -32,7 +32,7 @@ for my $arg (@ARGV) {
$retain = 1;
}
elsif (
- $arg =~ m{ ^ (?<topic> [^=]+) = (?<msgtype> . ) = (?<content> .*) $ }x )
+ $arg =~ m{ ^ (?<topic> [^=]+) = (?<content> .*) $ }x )
{
my $content = parse_content_string( $+{content} );
if ($retain) {