Update mod_logsession to work with ejabberd master branch #41