Fix mod_s2s_log to work with ejabberd 13.12