Index: og.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/og/og.module,v
retrieving revision 1.298.2.197.2.18
diff -u -p -u -p -r1.298.2.197.2.18 og.module
--- og.module	30 Dec 2008 16:34:33 -0000	1.298.2.197.2.18
+++ og.module	28 Jan 2009 23:01:55 -0000
@@ -2693,9 +2693,10 @@ function og_pathauto_node($op, $node=NUL
  */
 function og_token_list($type = 'all') {
   if ($type == 'node' || $type == 'all') {
-    $tokens['node']['ogname']          = t("Title of top group");
-    $tokens['node']['ogname-raw']      = t("Unfiltered title of top group. WARNING - raw user input.");
-    $tokens['node']['og-id']        = t("ID of top group");
+    $tokens['node']['ogname'] = t("Title of top group");
+    $tokens['node']['ogname-raw'] = t("Unfiltered title of top group. WARNING - raw user input.");
+    $tokens['node']['og-id'] = t("ID of top group");
+    $tokens['node']['ogalias'] = t("URL alias for the top group.");
     return $tokens;
   }
 }
@@ -2710,6 +2711,7 @@ function og_token_values($type, $object 
       $values['ogname'] = '';
       $values['ogname-raw'] = '';
       $values['og-id'] = '';
+      $values['ogalias'] = '';
 
       if (is_array($object->og_groups)) {
         $gids = array_filter($object->og_groups);
@@ -2718,6 +2720,7 @@ function og_token_values($type, $object 
           $values['ogname'] = check_plain($title);
           $values['ogname-raw'] = $title;
           $values['og-id'] = $gid;
+          $values['ogalias'] = drupal_get_path_alias('node/'. $gid);
           break;
         }
       }
