Skip to content

Commit 6bcdaec

Browse files
committed
Use self._start_main_loop()
1 parent ab49b93 commit 6bcdaec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

miniirc_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import miniirc, requests, traceback # type: ignore
1313

1414

15-
ver = (0, 0, 1)
15+
ver = (0, 0, 2)
1616
__version__ = '.'.join(map(str, ver))
1717

1818

@@ -432,7 +432,7 @@ def connect(self) -> None:
432432
}
433433
self.__start_time = math.floor(time.time()) * 1000
434434
self.debug('Starting main loop (Matrix)')
435-
threading.Thread(target=self._main).start()
435+
self._start_main_loop()
436436

437437
def disconnect(self) -> None:
438438
self.connected = False

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='miniirc_matrix',
8-
version='0.0.1',
8+
version='0.0.2',
99
py_modules=['miniirc_matrix'],
1010
author='luk3yx',
1111
description='A Matrix wrapper for miniirc.',
@@ -15,7 +15,7 @@
1515
long_description_content_type='text/markdown',
1616
install_requires=[
1717
'requests>=2.22.0,<3',
18-
'miniirc>=1.7.0,<2',
18+
'miniirc>=1.8.0,<2',
1919
],
2020
python_requires='>=3.8',
2121

0 commit comments

Comments
 (0)