This commit is contained in:
parent
bb2871fc77
commit
6a9d92e03d
1 changed files with 24 additions and 21 deletions
|
@ -870,6 +870,7 @@ while True:
|
||||||
title = False
|
title = False
|
||||||
redirected = False
|
redirected = False
|
||||||
for i in received.split("\n"):
|
for i in received.split("\n"):
|
||||||
|
try:
|
||||||
if firstline:
|
if firstline:
|
||||||
if i.split(" ")[0][0] == "3":
|
if i.split(" ")[0][0] == "3":
|
||||||
redirected = True
|
redirected = True
|
||||||
|
@ -892,6 +893,8 @@ while True:
|
||||||
title = True
|
title = True
|
||||||
multiline("(" + nick + f") " + i[2:], channel)
|
multiline("(" + nick + f") " + i[2:], channel)
|
||||||
break
|
break
|
||||||
|
except:
|
||||||
|
pass
|
||||||
if not title and not redirected:
|
if not title and not redirected:
|
||||||
multiline("(" + nick + ") [No title found]", channel)
|
multiline("(" + nick + ") [No title found]", channel)
|
||||||
if not redirected:
|
if not redirected:
|
||||||
|
|
Loading…
Add table
Reference in a new issue