1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 05:56:35 +01:00

no longer need this

This commit is contained in:
Jfreegman
2013-10-20 01:27:45 -04:00
parent 4ad6853e2e
commit 957b335559
5 changed files with 6 additions and 9 deletions

View File

@@ -338,13 +338,10 @@ void cmd_status(WINDOW *window, ToxWindow *prompt, Tox *m, int argc, char (*argv
if (!strcmp(l_status, "online"))
status_kind = TOX_USERSTATUS_NONE;
else if (!strcmp(l_status, "away"))
status_kind = TOX_USERSTATUS_AWAY;
else if (!strcmp(l_status, "busy"))
status_kind = TOX_USERSTATUS_BUSY;
else {
wprintw(window, "Invalid status. Valid statuses are: online, busy and away.\n");
return;
@@ -363,7 +360,7 @@ void cmd_status(WINDOW *window, ToxWindow *prompt, Tox *m, int argc, char (*argv
#define MAX_NUM_ARGS 4 /* Includes command */
void execute(WINDOW *window, ToxWindow *prompt, Tox *m, char *u_cmd, int buf_len)
void execute(WINDOW *window, ToxWindow *prompt, Tox *m, char *u_cmd)
{
char args[MAX_NUM_ARGS][MAX_STR_SIZE];
int num_args = 0;