Remove period from status set

It can make for awkward displays if you put a period in your status.
This commit is contained in:
NemDiggers 2013-07-31 19:02:06 -04:00
parent 1a8017d4d4
commit d7dcb6f095

View File

@ -148,7 +148,7 @@ static void execute(ToxWindow* self, char* cmd) {
msg++; msg++;
m_set_userstatus((uint8_t*) msg, strlen(msg)+1); m_set_userstatus((uint8_t*) msg, strlen(msg)+1);
wprintw(self->window, "Status set to: %s.\n", msg); wprintw(self->window, "Status set to: %s\n", msg);
} }
else if(!strncmp(cmd, "nick ", strlen("nick "))) { else if(!strncmp(cmd, "nick ", strlen("nick "))) {
char* nick; char* nick;