Home » Networking » Net_SmartIRC » Bug #10119
CTCP version reply should be fully configurable
Details
| Request #10119 | CTCP version reply should be fully configurable |
|---|---|
| Submitted | 2007-02-19 02:56 UTC |
| From | ian at mywits-end dot co dot uk |
| Assigned | amir |
| Status | Closed |
| Package | Net_SmartIRC |
| PHP Version | Irrelevant |
| OS | Linux |
| 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