Esempio n. 1
0
 public function destructBot($sMessage = false)
 {
     $this->Output('QUIT :' . ($sMessage == false ? $this->oMaster->oConfig->Network['quitmsg'] : $sMessage));
     Timers::Delete($this->iPingTimer);
     @socket_clear_error();
     $this->socketShutdown();
     $this->Active = false;
     $this->isWaiting = false;
 }
Esempio n. 2
0
 /**
  *	Creates a timer, note that arguments to be passed to $cCallback to after $iRepeat.
  *
  *	@param string $sKey Timer reference ID.
  *	@return bool 'true' on success.
  */
 public function timerKill($sKey)
 {
     return Timers::Delete($sKey);
 }