Two mistakes but very good program !

Recommend this page to a friend!

      PHP IRC Server  >  All threads  >  Two mistakes but very good program !  >  (Un) Subscribe thread alerts  
Subject:Two mistakes but very good program !
Summary:WHOIS
Messages:2
Author:Lionel F. Lebeau
Date:2015-10-07 12:53:10
 

  1. Two mistakes but very good program !   Reply   Report abuse  
Picture of Lionel F. Lebeau Lionel F. Lebeau - 2015-10-07 12:53:10
In the WHOIS case
replace (line 313)
case 'WHOIS':
$target = $args[1];
foreach($conn as $him)
with
case 'WHOIS':
$target = $args[1];
foreach($this->connArr as $him)

replace (line 334)
send($me, ':' . $this->confArr['hostname'] . ' 312 ' . $me['nick'] . ' ' . $him['nick'] . ' ' . $this->confArr['hostname'] . ' :' . $this->confArr['hostname']);
with
$this->send($me, ':' . $this->confArr['hostname'] . ' 312 ' . $me['nick'] . ' ' . $him['nick'] . ' ' . $this->confArr['hostname'] . ' :' . $this->confArr['hostname']);

  2. Re: Two mistakes but very good program !   Reply   Report abuse  
Picture of Lionel F. Lebeau Lionel F. Lebeau - 2015-10-07 13:03:12 - In reply to message 1 from Lionel F. Lebeau
Hum, can't edit my previous message...

When I connect to the server (with konversation under OpenSuse) I see twice "[MOTD] Message of the day :"
Example (yes, it's in french) :
[14:54] [MOTD] Message du jour :
[14:54] [MOTD] Message du jour :
[14:54] [MOTD] - THIS IS THE MESSAGE OF THE DAY!
[14:54] [MOTD] - Welcome to my PHP IRCd test server!
[14:54] [MOTD] - #help is the main channel on here!
[14:54] [MOTD] Fin du message du jour

Another problem (?), when I disconnect (using /quit or not) I see this error in the console :
PulsarSan <<< QUIT :Konversation terminated!
PulsarSan >>> ERROR :Closing Link: PulsarSan[127.0.0.1] (Quit: Konversation terminated!)

 

For more information send a message to info at phpclasses dot org.