PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_SmartIRC » Bug #6525

When joining empty channel channel array is wrong

Details

Submitted2006-01-19 10:32 UTC
Frombugs at fsck dot dk
Assignedamir
StatusClosed
PackageNet_SmartIRC
PHP Version5.1.1
OSLinux
Roadmaps(Not assigned)

Comments

[2006-01-19 10:32 UTC] bugs at fsck dot dk

Description:
------------
I am making an bot with smartirc. If i get it to join an empty channel I get this:

Net_SmartIRC_channeluser Object
(
[op] =>
[voice] =>
[nick] => nick
[ident] => ~nick
[host] => some.host.com
[realname] => Nick
[ircop] =>
[away] =>
[server] => some.server.com
[hopcount] => 0
)

As far as I know op should be 1 here because the bot has operator status. If the bot joins a channel with many users and I give it op the object looks like this:

Net_SmartIRC_channeluser Object
(
[op] => 1
[voice] =>
[nick] => nick
[ident] => ~nick
[host] => some.host.com
[realname] => Nick
[ircop] =>
[away] =>
[server] => some.server.com
[hopcount] => 0
)