Use mhash from Compat if mhash isn't available
This commit is contained in:
parent
bbcc76e7e7
commit
ab89df0094
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user