CTCP VERSION reply [bug fix]

Back to PHP-IRC Bugs

Page: 1  
From User Message Body
TRON
Post #586
Member
Date: 8:21 pm, Jul 30 2007
Posts: 2


in the irc.php file on or around line 1846 (v2.2.1) for the CTCP version query reply it needs to be changed from

Code

$msg = "PHP-iRC v" . VERSION . " [".VERSION_DATE."] by Manick (visit http://www.phpbots.org/ to download)";


to

Code

$msg = "VERSION PHP-iRC v" . VERSION . " [".VERSION_DATE."] by Manick (visit http://www.phpbots.org/ to download)";


which now makes it so that the bot is replying to CTCP VERSION queries correctly. :)


   

Back to PHP-IRC Bugs