Fixed user typing bug where it'd alway return an error.

This commit is contained in:
Jman012 2014-02-16 16:41:40 -08:00
parent d2019bbf99
commit 00d44597f0

View File

@ -619,7 +619,7 @@ USERSTATUS m_get_self_userstatus(Messenger *m)
int m_set_usertyping(Messenger *m, int friendnumber, uint8_t is_typing)
{
if (is_typing != 0 || is_typing != 1) {
if (is_typing != 0 && is_typing != 1) {
return -1;
}