fix mybb integration for newer versions of mybb
see also https://sourceforge.net/p/ajax-chat/patches/9/