diff --git a/miniirc_matrix.py b/miniirc_matrix.py index 5a08995..a2bc107 100644 --- a/miniirc_matrix.py +++ b/miniirc_matrix.py @@ -12,7 +12,7 @@ import miniirc, requests, traceback # type: ignore -ver = (0, 0, 5) +ver = (0, 0, 6) __version__ = '.'.join(map(str, ver)) @@ -398,7 +398,7 @@ def _update_baseurl(self) -> None: # Non-SSL localhost connections are probably to # https://github.com/matrix-org/pantalaimon which doesn't support # the "v3" URLs yet. - matrix_url = f'http://{hostname}' + baseurl = f'http://{hostname}' api_version = 'r0' else: api_version = 'v3' diff --git a/setup.py b/setup.py index 4ea501f..c65aacd 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='miniirc_matrix', - version='0.0.5', + version='0.0.6', py_modules=['miniirc_matrix'], author='luk3yx', description='A Matrix wrapper for miniirc.',