Saphirac / ft_irc

MIT License
1 stars 1 forks source link

Fix the MODE command #35

Closed JonathanDUFOUR closed 3 months ago

JonathanDUFOUR commented 3 months ago

I noticed that a segfault is triggered when we send:

JOIN #foo
MODE #foo +k bar
MODE #foo -k

Also, when using irssi, sending a /mode #foo -k actually sends MODE #foo -k bar under the hood, assuming that the current set key is bar.