diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2020-12-27 01:50:12 +0100 |
---|---|---|
committer | Link Mauve <linkmauve@linkmauve.fr> | 2020-12-28 19:10:53 +0100 |
commit | 0474d0f4b2d36bd188bd08b6ee5a378792de9f15 (patch) | |
tree | 1acc0ccfea2ed54c077eb019c2b81ad9e68d992e /plugins/dice.py | |
parent | 85b122222253361a933d5d45e92fa14afc90a93c (diff) | |
download | poezio-0474d0f4b2d36bd188bd08b6ee5a378792de9f15.tar.gz poezio-0474d0f4b2d36bd188bd08b6ee5a378792de9f15.tar.bz2 poezio-0474d0f4b2d36bd188bd08b6ee5a378792de9f15.tar.xz poezio-0474d0f4b2d36bd188bd08b6ee5a378792de9f15.zip |
Prevent a traceback when the jid option isn’t a valid JID.
It was crashing deep in XEP-0048 plugin init, this removes a safeJID()
as well as print an error message if the JID is invalid.
Diffstat (limited to 'plugins/dice.py')
0 files changed, 0 insertions, 0 deletions