home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d63f2d5
)
Use NOTICE instead of PRIVMSG for bot output.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 18 Jan 2016 01:33:29 +0000
(
02:33
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 18 Jan 2016 01:33:29 +0000
(
02:33
+0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 6031d50b3167eb62dfbe16865e1c8278efa44e41..4ec66463566a8205a6d89e7c9baa0a85569742d5 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-124,7
+124,7
@@
def lineparser_loop(io, nickname):
content = webpage.read().decode(charset)
title = str(content).split('<title>')[1].split('</title>')[0]
title = html.unescape(title)
content = webpage.read().decode(charset)
title = str(content).split('<title>')[1].split('</title>')[0]
title = html.unescape(title)
- io.send_line("
PRIVMSG
" + target + " :page title for url: "
+ io.send_line("
NOTICE
" + target + " :page title for url: "
+ title)
sender = ""
+ title)
sender = ""