* Improve fake host as to not confuse irssi on self msgs
use strict;
use warnings;
-our $VERSION = '0.2'; # d8eac6db52159b2
+our $VERSION = '0.3'; # e43de0fd9100921
our %IRSSI = (
authors => 'Nei',
contact => 'Nei @ anti@conference.jabber.teamidiot.de',
$continue = 1;
}
# support self msgs
- elsif ($raw =~ s/^:(?:(\S+)!(\S+\@$SLACK_ADDRESS)) PRIVMSG ([^#\s]\S*) :\[\3\] /:$3!$2 PRIVMSG $1 :/) {
+ elsif ($raw =~ s/^:(?:(\S+)!\S+(\@$SLACK_ADDRESS)) PRIVMSG ([^#\s]\S*) :\[\3\] /:$3!$3$2 PRIVMSG $1 :/) {
$continue = 1;
}
if ($continue) {