mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 03:13:02 +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:
parent
498ead2866
commit
1b431e19da
2
prompt.c
2
prompt.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user