cabal-club / cabal-client

interface for writing peer-to-peer chat clients
GNU General Public License v3.0
95 stars 14 forks source link

Reorder PM null check #91

Closed dchiquito closed 2 years ago

dchiquito commented 2 years ago

The previous ordering would cause a null access exception when checking pmInstance.joined even if the null check was triggered.

Fixes #90

cblgh commented 2 years ago

ahhh, thanks!