diff --git a/ejabberdrpc.py b/ejabberdrpc.py index d90831b..02c0b3b 100755 --- a/ejabberdrpc.py +++ b/ejabberdrpc.py @@ -155,7 +155,7 @@ class EjabberdMetrics: def fetch_muc(self, vhost=None): host = "global" if vhost is not None: - if self._verstring.major > 19: + if self._verstring.major >= 19: host = "conference." + vhost else: host = vhost