Spksh / TentacleSoftware.TeamSpeakQuery

A task-based event-driven Team Speak 3 ServerQuery client that supports SOCKS4 proxies.
http://www.tentaclesoftware.com
Other
7 stars 4 forks source link

Fix TargetMode on Send Text Message #7

Closed j-mie closed 10 years ago

j-mie commented 10 years ago

If you don't cast the enum value to an int it sends the following:

sendtextmessage targetmode=TextMessageTarget_CHANNEL target=1 msg=hi error id=1540 msg=convert\serror

Spksh commented 10 years ago

Thanks! Did you spot any other missing enum conversions?

j-mie commented 10 years ago

Not that I noticed, I didn't really spend much time looking at the code, just wanted to fix this since I was using it.