Use mhash from Compat if mhash isn't available

This commit is contained in:
Craig Andrews 2010-08-18 13:33:52 -04:00
parent bbcc76e7e7
commit ab89df0094

View File

@ -192,6 +192,9 @@ class MsnPlugin extends ImPlugin {
if (!isset($this->nickname)) {
throw new Exception("Must specify a nickname");
}
if (!function_exists('mhash')) {
require_once(INSTALLDIR.'/plugins/Msn/extlib/compat/mhash.php');
}
return true;
}