From:  garrettw87@gmail.com
Date:  08 Jan 2015 10:22:03 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #20475 [Asn->Csd]: Channel not containing nicks

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=20475&edit=1

 ID:               20475
 Updated by:       garrettw87@gmail.com
 Reported By:      sem dot schilder at gmail dot com
 Summary:          Channel not containing nicks
-Status:           Assigned
+Status:           Closed
 Type:             Bug
 Package:          Net_SmartIRC
 Operating System: Mac OSX Yosemite
 Package Version:  1.1.5
 PHP Version:      5.6.4
 Assigned To:      garrettw
 Roadmap Versions: 
 New Comment:

-Status: Assigned
+Status: Closed
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2014-12-30 11:58:00] garrettw

Turns out that wasn't the problem.
First half of the issue is that Freenode redirects the bot from joining
#test to joining ##fix_your_mind instead. Not sure why that happens to
the bot when it doesn't happen to me when I /join #test in a normal
client.
Second half is that parsing for RPL_NAMREPLY and RPL_WHOREPLY is not
implemented correctly, which I'm working on fixing.

------------------------------------------------------------------------

[2014-12-30 10:17:14] garrettw

-Status:      Open
+Status:      Assigned
-Assigned To:
+Assigned To: garrettw
After looking at the code in example3.php, I think the problem could be
related to how the code tells the #smartirc-test channel that it's
listing ops joined to that same channel, when in fact it is listing the
ops joined to #test instead.

I'll be testing that hypothesis soon and if it's correct, the bug will
be fixed quickly.

------------------------------------------------------------------------

[2014-12-29 22:22:23] xvilo

-Summary: Channel not container nicks
+Summary: Channel not containing nicks


------------------------------------------------------------------------

[2014-12-29 22:20:50] xvilo

Description:
------------
The $channel variable is not containing any users... So the code is 
not working

Test script:
---------------
https://github.com/pear/Net_SmartIRC/blob/master/docs/examples/example3.php

Expected result:
----------------
List of users

Actual result:
--------------
NULL

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20475&edit=1