kickUser($steamId, $serverId, $LANCHECKUSER_001 . $nameToKick->getBadName() . $LANCHECKUSER_002, $messageTOserver);
         $kickedByName = true;
         break;
         // Break out of the loop
     }
 }
 $kickedByBan = false;
 // No point checking if they were kicked by name
 if (!$kickedByName) {
     // Determine if this user is IP banned, if so kick them
     if ($banQueries->isIpBanned($ipOfBanned)) {
         kickUser($steamId, $serverId, eregi_replace("gb_time", $LANCHECKUSER_003, $config->banMessage), $messageTOserver);
         $kickedByBan = true;
     }
     // Check to see if the user does exist in the ban list (if active)
     if ($banQueries->doesUserExist($steamId)) {
         $now = time();
         // Get the time now in seconds
         $bannedUser = $banQueries->getBannedUserBySteamId($steamId);
         $length = new Length();
         $length->setLength($bannedUser->getLength());
         $length->setTimeScale($bannedUser->getTimeScale());
         $lengthInSec = $length->getLengthInSeconds();
         $reasonQueries = new ReasonQueries();
         $menssageTOplayer = eregi_replace("gb_reason", $reasonQueries->getReason($bannedUser->getReasonId()), eregi_replace("gb_time", $length->getReadable(), $config->banMessage));
         // Pending bans are banned for X days
         if ($bannedUser->getPending() == 1) {
             // Kick the user if the ban is 24 hours or less
             if ($lengthInSec > 0 && $lengthInSec / 3600 <= 24) {
                 kickUser($steamId, $serverId, $menssageTOplayer, $messageTOserver);
                 $kickedByBan = true;