net_smartirc.reg

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· REG 代码 · 共 444 行 · 第 1/5 页

REG
444
字号
 - setAutoReconnect() method, for enabling the autoreconnect feature. - channel variable, a reference to _channels because $object->channel("#chan")->topic is not possible in PHP4 (ZE1). - reconnect() method, it will reconnect and also join all channels. - channel() method, getting a reference to the channel, only if channelsynching is on. - added ident, host, messageex and rawmessageex variables to the Net_SmartIRC_data class. - class Net_SmartIRC_user, stores info about one user, only used if channelsynching is on. - class Net_SmartIRC_channel, stores info about one channel, only used if channelsynching is on.";}i:6;a:4:{s:7:"version";s:5:"0.5.1";s:12:"release_date";s:10:"2003-01-17";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:808:"v0.5.1:-------fixes: - major bugs in ChannelSynching fixed. - fsocks support fixed. - setUseSocket() method fixed.   If false was passed as parameter, it tried to load the socket extension.   Also warnings are now suppressed with @ in front of dl(). - fixed a typo in reconnect(). - missing SMARTIRC_DEBUG_CHANNELSYNCHING constant added. changes: - new design for HTML documentation used (PEAR template). - moved all examples to their own directory (examples/). - moved the documentation to docs/HTML/. - added new file descriptions to README. - removed not needed parts of DOCUMENTATION (most is now in the HTML version). - updated the HTML documentation. new: - example5/6/7.php added. - setAutoRetry() method added.   Autoretrying of connecting to the IRC server, is now supported.";}i:7;a:4:{s:7:"version";s:5:"0.5.5";s:12:"release_date";s:10:"2003-07-23";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:3973:"v0.5.5:-------fixes: - fixed a bug in _rawreceive()   messages were parsed wrong which caused problems with kick reasons.   (thx to sniper for reporting this). - fixed bug in message()   CTCP ACTION messages had missing \001 at the end. - fixed a bug in quit(), which caused quit messages not to be sent to the server. - fixed reconnect() bug, it sent the channel join requests right after connect(),   and tried to join a channel without a name. - fixes in ChannelSync code   When a user joins a channel after SmartIRC, no WHO info is updated in the user object.   Fixed wrong update of channel mode when rpl_channelmodeis received.   Fixed bug in _mode() method, which caused wrong handling of mode changes.   Topic updates are now tracked (thanks to sniper).   Fixed bug which caused fatal errors with ChannelSync enabled   (closes sf.net bug  #705269).   Fixed bug in _event_mode(), unhandled modes were stored wrong.   Fixed bug in _event_rpl_namreply(), which caused that the first char of the first nick   of a namreply got cut (closes sf.net bug #747832). - fixed bug in _checktimer()   Which caused problems when a timehandler is unregistered. - fixed _gettye()   It wasn't recognizing SMARTIRC_TYPE_ACTION. - removed if(!$obj) check for newly created objects (closes PHP bug #24622),   required for PHP 4.1.2 compatibility.changes: - removed all irc commands from SmartIRC.php   they have now their own file (SmartIRC/irccommands.php). - Net_SmartIRC_messagehandler class now extends Net_SmartIRC_irccommands. - removed the 1. parameter (&$irc) of all message handlers, not needed anymore. - renamed class Net_SmartIRC_user to Net_SmartIRC_channeluser,   added class Net_SmartIRC_ircuser. - added prefix _event to all message handlers (needed because of class restructuring). - tweaked filling of the ircdata objects. - log() now checks the passed debug level bitwise. - $data->message will be null instead of random garbage,   if the IRC message has no colon (the message part), - All methods that depend on ChannelSync mode, checks if it's enabled. - Optimized the usage of time() for $this->_lastrx. - updated the URL of a SmartIRC based bot (atbs). - _loggedin is now set to false when the socket is dead,   required for proper working  reconnect(). - on a reconnect(), the logfile won't be overwritten anymore. - updated phpdoc tags. - all access to the channel array now uses strtolower() for the key. - fixed typo in function name setChannelSynching(),   now it's called setChannelSyncing() with a BC wrapper. - removed all SMARTIRC_ prefixes for debug output. - changed isJoined($channel) to isJoined($channel, $nickname)   for checking if the specified user is joined. - removed "destructors", because they don't free the memory.new: - added isOpped() isVoiced() isBanned().

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?