3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 22:09:26 +01:00

Normalize /session hostmasks

This commit is contained in:
Pragmatic Software 2017-06-19 18:21:47 -07:00
parent aadc829865
commit f3620ddd90

View File

@ -467,6 +467,8 @@ sub normalize_hostmask {
$host = "$1/$2/x-$user";
}
$host =~ s{/session$}{/x-$user};
return ($nick, $user, $host);
}