PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_SmartIRC » Bug #10119

CTCP version reply should be fully configurable

Details

Request #10119CTCP version reply should be fully configurable
Submitted2007-02-19 02:56 UTC
Fromian at mywits-end dot co dot uk
Assignedamir
StatusClosed
PackageNet_SmartIRC
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2007-02-19 02:56 UTC] ian at mywits-end dot co dot uk

Description:
------------
Currently, the CTCP VERSION reply is only partly configurable, since it always has ' | using $smartirc_version' suffixed to what you set with setCtcpVersion(). One would expect that what you set with this command is what you'll see on irc, and so this patch changes Net/SmartIRC/messagehandler.php to do just that.

Apply with "patch -p0 < messagehandler.php.patch". The patch assumes php/pear is in /usr/share/php, so you may need to adjust accordingly by editing the patch if this is not correct for your system.

Kind Regards,
Ian

Test script:
---------------
Download patch from:
http://www.mywits-end.co.uk/messagehandler.php.patch