MGranatels / IRC

4 stars 1 forks source link

Issue: Channel Operator change should refresh the list os users in the channel #43

Closed MGranatels closed 1 year ago

MGranatels commented 1 year ago

When the operators of the channel are changed their name display should have a green icon to show they are channel op

This is already implemented however we have some bugs, when I remove the op status it does not refresh the channel name, even tough I'm calling the broadcast message function.

For some reason the program only adds the green icon to the first and second user that are added has chann opp after that it does not change the icon even if we remove or add more chann op.

gabriela-freitas commented 1 year ago

I believe it's fixed. It was missing the ENDOFNAMES message when brodcasting the name's list

gabriela-freitas commented 1 year ago

I added this function to improve the code readability and avoid this confusion later

Image