From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 18 Jan 2016 01:33:29 +0000 (+0100)
Subject: Use NOTICE instead of PRIVMSG for bot output.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/error?a=commitdiff_plain;h=cb8bbcf5cd0f8a4835b6a78f4cb4b0a32a173710;p=plomlombot-irc.git

Use NOTICE instead of PRIVMSG for bot output.
---

diff --git a/plomlombot.py b/plomlombot.py
index 6031d50..4ec6646 100755
--- 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)
-                io.send_line("PRIVMSG " + target + " :page title for url: "
+                io.send_line("NOTICE " + target + " :page title for url: "
                              + title)
 
         sender = ""