Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.14

Bug #6525 When joining empty channel channel array is wrong
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)    
Subscription  


 [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 )

Comments

 [2007-07-11 20:23 UTC] ianweller (Ian Weller)
When it comes to IRC, some servers don't automatically op you when you enter an empty channel, or if the channel is empty and registered to another user. It depends on the server/channel status. Hope this helps.
 [2007-08-11 16:35 UTC] amir (Amir Mohammad Saied)
As Ian indicated, It's not a rule to automatically being op when you join an empty channel, and in some cases you don't have enough permissions to became the operator of the channel. I'll close this bug, feel free to re-open it if you're sure that, that particular server automatically op users, and the bot has enough permissions to became an operator.