home · contact · privacy
Use NOTICE instead of PRIVMSG for bot output.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 18 Jan 2016 01:33:29 +0000 (02:33 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 18 Jan 2016 01:33:29 +0000 (02:33 +0100)
plomlombot.py

index 6031d50b3167eb62dfbe16865e1c8278efa44e41..4ec66463566a8205a6d89e7c9baa0a85569742d5 100755 (executable)
@@ -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 = ""