Index: chatbox.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/chatbox/chatbox.module,v
retrieving revision 1.51.2.18
diff -u -p -r1.51.2.18 chatbox.module
--- chatbox.module	6 Nov 2006 14:16:51 -0000	1.51.2.18
+++ chatbox.module	25 Jan 2007 21:25:23 -0000
@@ -94,9 +94,10 @@ function chatbox_block_display() {
  * Enables users to receive invitations to the chatbox.
  */
 function chatbox_block_display_invite() {
+  global $base_url;
   $uid = $GLOBALS['user']->uid;
   $chatbox_base  = drupal_get_path('module', 'chatbox');
-  $url = url(drupal_get_path('module', 'chatbox') . '/chkmsg.php', 'uid=' . $uid . '&chatbox_base=' . $chatbox_base, NULL, true);
+  $url = $base_url .'/'. $chatbox_base .'/chkmsg.php?uid='. $uid .'&chatbox_base='. $chatbox_base;
   $content .= '
     <div>' . t('Please enable popup windows to receive invitations to the chatbox.') . '</div>
     <script language="JavaScript" type="text/javascript">
