patch 99ff6d5f15836e4bd53dfba9c49b1bcaf8a41b4b Author: E. Bosch 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 diff -rN -u old-irgramd/irgramd new-irgramd/irgramd --- old-irgramd/irgramd 2024-11-23 02:21:38.331594196 +0100 +++ new-irgramd/irgramd 2024-11-23 02:21:38.331594196 +0100 @@ -110,5 +110,6 @@ options['config_dir'] = config_dir irc_server = IRCTelegramd(logger, options) - 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()