detect polari

This commit is contained in:
jesopo 2019-07-03 22:58:35 +01:00
parent 93dec73417
commit efc5f738a8
2 changed files with 3 additions and 1 deletions

View File

@ -2,4 +2,4 @@
Faux-IRCd to detect client versions through handshake behavior
Currently (2019-07-03) detects: hexchat, igloo, irccloud, irssi, kiwiirc, limechat, mibbit, mirc, mutter, palaver, pidgin, quassel, revolution, textual, thelounge, weechat
Currently (2019-07-03) detects: hexchat, igloo, irccloud, irssi, kiwiirc, limechat, mibbit, mirc, mutter, palaver, pidgin, polari, quassel, revolution, textual, thelounge, weechat

View File

@ -107,6 +107,8 @@ def _detect(client):
not client.user_servername_rfc1459):
if client.long_pong:
return "weechat"
elif client.user_hostname == "8":
return "polari"
else:
return "limechat"
if (client.user_hostname == "127.0.0.1" and