# HG changeset patch # User Matti Hamalainen # Date 1308779366 -10800 # Node ID 058e3633bd73a3a269bcda9072f07ef9d2b25c45 # Parent e6bb187a31537d2148af25aca2be301da1f3162c Fix a think-o in the logic of processing user commands / messages in case of different window buffers. diff -r e6bb187a3153 -r 058e3633bd73 nnchat.c --- a/nnchat.c Thu Jun 23 00:48:24 2011 +0300 +++ b/nnchat.c Thu Jun 23 00:49:26 2011 +0300 @@ -980,7 +980,8 @@ snprintf(tmpBuf, sizeof(tmpBuf), "/listallusers"); buf = tmpBuf; } - else if (currWin != chatWindows[0]) { + + if (currWin != chatWindows[0]) { if (currWin->id != NULL) { snprintf(tmpBuf, sizeof(tmpBuf), "/prv -to %s -msg %s", currWin->id, buf); buf = tmpBuf;