- if ( lc $meta{account} ne lc "$user\@$defservice" ) {
- $meta{account} =~ s/\@(\w+)$//;
- my $service = $1;
- if (
- lc $service eq
- lc Irssi::settings_get_str("twirssi_default_service") )
- {
- $account = "$meta{account}: ";
- } else {
- $account = "$meta{account}\@$service: ";
- }
+ $meta{account} =~ s/\@(\w+)$//;
+ $meta{service} = $1;
+ if (
+ lc $meta{service} eq
+ lc Irssi::settings_get_str("twirssi_default_service") )
+ {
+ $account = "$meta{account}: "
+ if lc "$meta{account}\@$meta{service}" ne lc
+ "$user\@$defservice";
+ } else {
+ $account = "$meta{account}\@$meta{service}: ";