detect sic by twopong_cut
This commit is contained in:
parent
868586e181
commit
3523890e64
5
start.py
5
start.py
|
@ -155,7 +155,10 @@ def _detect(client):
|
||||||
elif (client.criteria["longpong"] and
|
elif (client.criteria["longpong"] and
|
||||||
not client.criteria["spacepong"] and
|
not client.criteria["spacepong"] and
|
||||||
client.criteria["user_hostname"] == "localhost"):
|
client.criteria["user_hostname"] == "localhost"):
|
||||||
return "androirc"
|
if client.criteria["twopong_cut"]:
|
||||||
|
return "sic"
|
||||||
|
else:
|
||||||
|
return "androirc"
|
||||||
elif client.criteria["user_hostname"].startswith("/"):
|
elif client.criteria["user_hostname"].startswith("/"):
|
||||||
return "aicia"
|
return "aicia"
|
||||||
elif client.criteria["twopong_cut"]:
|
elif client.criteria["twopong_cut"]:
|
||||||
|
|
Loading…
Reference in New Issue