From 007dc311bedb7c56cb5c2ef51aa57b4b8858cf95 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 7 Oct 2020 21:56:58 +0100 Subject: [PATCH] Extra replacement --- daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon.py b/daemon.py index 8647b8a18..f974b03eb 100644 --- a/daemon.py +++ b/daemon.py @@ -6561,6 +6561,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.YTReplacementDomain, self.server.newswire, moderator) msg = msg.replace('/news/', '/' + currNickname + '/') + msg = msg.replace('/users/news"', + '/users/' + currNickname + '"') msg = msg.replace('/banner.webp', '/banner.png') msg = msg.encode('utf-8') self._set_headers('text/html', len(msg),