Add link highlighting for IRC.

pull/1/head
Simon Quigley 7 years ago
parent dfa8d3deba
commit fa063eec73

@ -139,6 +139,8 @@ def listenirc():
conn.send(bytes("PONG :pingis\n", "UTF-8"))
elif ircmsg.find(" :" + username + ": ") != -1:
ircbot(ircmsg)
elif ircmsg.find("https://phab.lubuntu.me/T") != -1:
ircbot(ircmsg.split("https://phab.lubuntu.me/")[1])
@app.route("/", methods=["POST"])
def main():

Loading…
Cancel
Save