]> granicus.if.org Git - ejabberd/commit
mod_privacy: Don't try to look up 'undefined' list
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 24 Jul 2019 08:45:30 +0000 (10:45 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 24 Jul 2019 08:45:30 +0000 (10:45 +0200)
commit4218aecd1c7f58207ab17d3cccf2886d5558d62b
treecb937fbf91a77023fe7e63b8efbde8d0e7b91db6
parent9ef52f2b0f3f3edc94345669c499234e32f46e89
mod_privacy: Don't try to look up 'undefined' list

Don't crash if the <query/> element of an IQ of type 'set' contains
neither a <default/> nor an <active/> child.

This fixes a regression introduced in commit
8410a203ec81f0b0b9e4885221abf1d7ba6bd9f1.
src/mod_privacy.erl