progval / Limnoria

A robust, full-featured, and user/programmer-friendly Python IRC bot, with many existing plugins.
https://docs.limnoria.net/
Other
621 stars 174 forks source link

limnoria_reset_password.py crashes due to infinite recursion #1565

Closed nvinson closed 11 months ago

nvinson commented 1 year ago

When trying to start limnoria_reset_password.py, it immediately crashes due to stack overflow. The stack overflow is caused by main() recursively calling itself.

The fix is to change the call to main() at https://github.com/progval/Limnoria/blob/master/src/scripts/limnoria_reset_password.py#L107 to _main(). I.e: prefix the call to main() with a single underscore.

progval commented 1 year ago

my bad, sorry