Index: xmpp.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/xmpp/xmpp.module,v retrieving revision 1.4 diff -u -r1.4 xmpp.module --- xmpp.module 20 Aug 2007 03:17:29 -0000 1.4 +++ xmpp.module 3 Nov 2007 05:35:28 -0000 @@ -374,7 +374,7 @@ if (!is_string($secret) || $secret !== variable_get('xmpp_server_secret', 0)) return drupal_access_denied(); - require_once dirname(__FILE__).'/lib/server.inc'; + require_once drupal_get_path('module', 'xmpp') .'/lib/server.inc'; $conf = array( 'stream.from' => variable_get('xmpp_server_stream_from', ''), @@ -412,7 +412,7 @@ if (!variable_get('xmpp_client_configured', false)) return null; - require_once dirname(__FILE__).'/lib/client.inc'; + require_once drupal_get_path('module', 'xmpp') .'/lib/client.inc'; $conf = array( 'auth.jid' => variable_get('xmpp_client_auth_jid', ''),