lrstanley / girc

:bomb: girc is a flexible IRC library for Go :ok_hand:
https://pkg.go.dev/github.com/lrstanley/girc
MIT License
138 stars 13 forks source link

Cmd.Part and Cmd.PartMessage attempt to JOIN instead of PART #7

Closed puffrfish closed 6 years ago

puffrfish commented 6 years ago

When using the client commands Part and PartMessage a JOIN will be sent instead of a PART.

client.Cmd.Part("#mychannel", "poof") client.Cmd.PartMessage("#mychannel", "poof")


debug:19:37:52 conn.go:451: > JOIN #mychannel
debug:19:37:52 conn.go:451: > JOIN #mychannel :poof```
lrstanley commented 6 years ago

merged PR. closing.