aboutsummaryrefslogtreecommitdiff
path: root/http2irc.py
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2021-12-07 06:04:01 +0000
committerGravatar JustAnotherArchivist2021-12-07 06:04:01 +0000
commit69e9daddec5b9488eec3eb8ca0597e727e28e42f (patch)
treece2f541c20275b5a6d63f90992f8564b0bcfdf6f /http2irc.py
parentLet modules suppress messages by returning None (diff)
signature
Only rebind web server on host/port changes
Diffstat (limited to 'http2irc.py')
-rw-r--r--http2irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/http2irc.py b/http2irc.py
index 0d2e190..3148467 100644
--- a/http2irc.py
+++ b/http2irc.py
@@ -983,7 +983,7 @@ class WebServer:
map_['moduleargs'],
map_['overlongmode']
) for map_ in config['maps'].values()}
- needRebind = self.config['web'] != config['web']
+ needRebind = (self.config['web']['host'], self.config['web']['port']) != (config['web']['host'], config['web']['port'])
self.config = config
if needRebind:
self._configChanged.set()