From ab89df00942fe853ba47f123de1884c708ff0645 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Wed, 18 Aug 2010 13:33:52 -0400 Subject: [PATCH] Use mhash from Compat if mhash isn't available --- plugins/Msn/MsnPlugin.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/Msn/MsnPlugin.php b/plugins/Msn/MsnPlugin.php index 9db3f7763b..9e0b76d327 100644 --- a/plugins/Msn/MsnPlugin.php +++ b/plugins/Msn/MsnPlugin.php @@ -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; } -- 2.39.5