faboussard / 42-irc

3 stars 1 forks source link

ChannelImplement Channel Management for JOIN Command with Basic Channel Data Registration #24

Closed faboussard closed 3 weeks ago

faboussard commented 3 weeks ago

๐Ÿš€ Summary:

โœจ Implemented Features:

๐Ÿž Known Issues:

JOIN #s
:admin JOIN :#s
:ircserv.localhost 331 admin #s :No topic is set
:ircserv.localhost 353 admin #s :admin 
:ircserv.localhost 366 admin #s :End of NAMES list
JOIN s
:ircserv.localhost 476 admin s :Bad Channel mask 

๐Ÿ“Œ TODOs: Future Enhancements Needed PART Command implementation (for JOIN + 0) โžก๏ธ. Key Management functionality, pending MODE command integration ๐Ÿ”. ๐Ÿงฉ Tests Conducted: Valgrind Results: No memory leaks ๐ŸŸข.

Command Tests:

JOIN + blank spaces โ†’ 461 Error: Not enough parameters. JOIN # โ†’ 461 Error: Not enough parameters. JOIN + 0 โ†’ Expected to PART from all channels (TODO). JOIN #channelA,#channelB โ†’ Successfully joins two channels. JOIN ## โ†’ Joins one channel.

ysengoku commented 3 weeks ago

Shall we create tests directory at root where we put all test files (.hpp and .cpp) in order to separate tests from program codes ?