mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08: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:
parent
1a8017d4d4
commit
d7dcb6f095
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user