1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 07:53:24 +01:00

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 498ead2866
commit 1b431e19da

View File

@ -148,7 +148,7 @@ static void execute(ToxWindow* self, char* cmd) {
msg++;
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 "))) {
char* nick;