Fix deprecation warning about the use of asyncio.get_event_loop(), use asyncio.new_event_loop() instead
patch 99ff6d5f15836e4bd53dfba9c49b1bcaf8a41b4b
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Mar 19 02:40:30 CET 2023
* Fix deprecation warning about the use of asyncio.get_event_loop(), use asyncio.new_event_loop() instead
hunk ./irgramd 113
- asyncio.get_event_loop().run_until_complete(irc_server.run(options))
- asyncio.get_event_loop().run_forever()
+ loop = asyncio.new_event_loop()
+ loop.run_until_complete(irc_server.run(options))
+ loop.run_forever()