Skip to content

Commit

Permalink
Give everybody the default !Members group
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Mar 9, 2014
1 parent f0d32d2 commit eae0c31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@
}
}
}
$res3 = atheme_command(get_conf('xmlrpc-server'),get_conf('xmlrpc-port'),get_conf('xmlrpc-path'),USER_IP,'RehashServ',get_conf('rehash-pass'),'GroupServ','flags',array('!Members',$_COOKIE['user'],'+cvi'));
if(!$res3[0]){
die('{"code":'.$res3[2].',"message":"'.__('Unable to sync groups').': '.$res3[1].'"}');
}
}
die('{"code":0,"message":"'.__('Groups synced with SMF').'"}');
break;
Expand Down

0 comments on commit eae0c31

Please sign in to comment.