diff --git a/src/plugins/irc-events/link.js b/src/plugins/irc-events/link.js index 2a2c06d2..4f2f381e 100644 --- a/src/plugins/irc-events/link.js +++ b/src/plugins/irc-events/link.js @@ -101,7 +101,12 @@ function parse(msg, url, res, client) { function fetch(url, cb) { try { - var req = request.get(url); + var req = request.get({ + url: url, + headers: { + "User-Agent": "Mozilla/5.0 (compatible; Shout IRC Client; +https://github.com/erming/shout)" + } + }); } catch (e) { return; }