diff options
| author | Teddy Wing | 2015-06-14 20:02:50 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-06-14 20:02:50 -0400 |
| commit | 711081355012581a82831eefb6179cb412747136 (patch) | |
| tree | ed7463725171d48fa4b9b5b4c49cdde72827fec3 /hipchat-stfu.pl | |
| parent | f1b64d6816086554cc5538eca24e0cdba36dff70 (diff) | |
| download | irssi-hipchat-stfu-711081355012581a82831eefb6179cb412747136.tar.bz2 | |
Strip 'Priority:' and 'Status:'
These single lines are irrelevant and don't need to be included in
output.
Diffstat (limited to 'hipchat-stfu.pl')
| -rw-r--r-- | hipchat-stfu.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hipchat-stfu.pl b/hipchat-stfu.pl index 22c288c..1695ca0 100644 --- a/hipchat-stfu.pl +++ b/hipchat-stfu.pl @@ -27,6 +27,12 @@ sub prettify_hipchat { # Trim whitespace between words $input =~ s/(\s| ){2,}/ /g; + # Remove Priority + $input =~ s/Priority://g; + + # Remove Status + $input =~ s/Status://g; + # Construct start message if ($link) { $input =~ s/Created by (.+)$/($1) ($link)/g; |
