Home » Networking » Net_SmartIRC » Bug #6525
When joining empty channel channel array is wrong
Details
| Submitted | 2006-01-19 10:32 UTC |
|---|---|
| From | bugs at fsck dot dk |
| Assigned | amir |
| Status | Closed |
| Package | Net_SmartIRC |
| PHP Version | 5.1.1 |
| OS | Linux |
| 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
)