summaryrefslogtreecommitdiffstats
path: root/ircbot
diff options
context:
space:
mode:
Diffstat (limited to 'ircbot')
-rwxr-xr-xircbot/rssbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ircbot/rssbot.py b/ircbot/rssbot.py
index b73b4e41..c3e05d1e 100755
--- a/ircbot/rssbot.py
+++ b/ircbot/rssbot.py
@@ -56,7 +56,7 @@ class RssBot(irc.bot.SingleServerIRCBot):
def send(self, string):
urls = re.findall('http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', string)
for url in urls:
- shorturl = subprocess.check_output(["curl", "-F", "uri=" + url, "http://wall:1337"]).decode()
+ shorturl = subprocess.check_output(["curl", "-sS", "-F", "uri=" + url, "http://wall:1337"]).decode()
string = string.replace(url, shorturl)
if self.connection.connected:
for line in string.split('\n'):