diff options
| author | Teddy Wing | 2015-06-14 19:48:58 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-06-14 19:48:58 -0400 |
| commit | f1b64d6816086554cc5538eca24e0cdba36dff70 (patch) | |
| tree | 134eaeb474514b7a1734cf45ed4071952977b857 /hipchat-stfu.pl | |
| parent | bef0d13cf98bb8d8bb354b6cc6181b6729aaa04b (diff) | |
| download | irssi-hipchat-stfu-f1b64d6816086554cc5538eca24e0cdba36dff70.tar.bz2 | |
Change title message format (single line)
Change the format so that the title message is on a single line instead
of 3. Typically this will mean that the message will appear on 2 lines,
which is still better than 3 lines, saving us some vertical space.
Diffstat (limited to 'hipchat-stfu.pl')
| -rw-r--r-- | hipchat-stfu.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hipchat-stfu.pl b/hipchat-stfu.pl index 10fcc23..22c288c 100644 --- a/hipchat-stfu.pl +++ b/hipchat-stfu.pl @@ -29,7 +29,7 @@ sub prettify_hipchat { # Construct start message if ($link) { - $input =~ s/ Created by/\n$link\nCreated by/g; + $input =~ s/Created by (.+)$/($1) ($link)/g; } return $input; |
