mirror of
https://github.com/lubuntu-team/lugito.git
synced 2025-07-02 02:21:30 +00:00
Add link highlighting for IRC.
This commit is contained in:
parent
dfa8d3deba
commit
fa063eec73
2
lugito
2
lugito
@ -139,6 +139,8 @@ def listenirc():
|
|||||||
conn.send(bytes("PONG :pingis\n", "UTF-8"))
|
conn.send(bytes("PONG :pingis\n", "UTF-8"))
|
||||||
elif ircmsg.find(" :" + username + ": ") != -1:
|
elif ircmsg.find(" :" + username + ": ") != -1:
|
||||||
ircbot(ircmsg)
|
ircbot(ircmsg)
|
||||||
|
elif ircmsg.find("https://phab.lubuntu.me/T") != -1:
|
||||||
|
ircbot(ircmsg.split("https://phab.lubuntu.me/")[1])
|
||||||
|
|
||||||
@app.route("/", methods=["POST"])
|
@app.route("/", methods=["POST"])
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user