diff --git a/scripts/patrix b/scripts/patrix index c89d217..77ec85d 100644 --- a/scripts/patrix +++ b/scripts/patrix @@ -226,6 +226,7 @@ sub who_am_i { # Lets just build it manually for now my $server = $opt->{server}; $server =~ s|^https?://||; + $server =~ s|/$||; return '@' . $opt->{user} .':' . $server; }