Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (9 years ago)
Author:
chronos
Message:
  • Removed: Spaces on end of line.
  • Modified: Tabs converted to spaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Chat/irc_bot.php

    r577 r738  
    1313  var $File;
    1414
    15   function __construct() 
     15  function __construct()
    1616  {
    1717    $this->Jokes = file($this->JokeFileName);
     
    7474      $Line = substr($Line, strlen($Commands[0]));
    7575      $Commands[1] = substr($Line, 0, strpos($Line, ':') + 1);
    76       $Commands[2] = substr($Line, strlen($Commands[1]));     
     76      $Commands[2] = substr($Line, strlen($Commands[1]));
    7777      //print_r($Commands);
    7878
     
    8989      }
    9090
    91      
     91
    9292      explode(':', $Line);
    9393      foreach($Commands as $Index => $Item)
     
    185185
    186186        // hjoke - Posle nahodny vtip
    187         if($Command == 'hjoke') 
     187        if($Command == 'hjoke')
    188188        {
    189189          $Joke = ($this->Jokes[rand(0, (sizeof($this->Jokes) - 1))]);
Note: See TracChangeset for help on using the changeset viewer.