modules/greeting.php
changeset 48 d793361a27ec
parent 8 0acb8d9a3194
equal deleted inserted replaced
47:633ec114f630 48:d793361a27ec
     7   static $part_list = array();
     7   static $part_list = array();
     8   
     8   
     9   switch($message['action'])
     9   switch($message['action'])
    10   {
    10   {
    11     case 'JOIN':
    11     case 'JOIN':
       
    12       if ( $message['nick'] === $GLOBALS['nick'] )
       
    13         break;
       
    14       
    12       $wb = false;
    15       $wb = false;
    13       if ( isset($part_list[$message['nick']]) )
    16       if ( isset($part_list[$message['nick']]) )
    14       {
    17       {
    15         if ( $part_list[$message['nick']] + 1800 >= time() )
    18         if ( $part_list[$message['nick']] + 1800 >= time() )
    16         {
    19         {