1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 06:16:45 +02:00

Add command to change the Tox ID nospam value

This commit is contained in:
Jfreegman
2015-10-22 19:44:05 -04:00
parent cea5f1fe04
commit 6b97df2615
7 changed files with 23 additions and 8 deletions

View File

@ -70,9 +70,9 @@ extern struct user_settings *user_settings;
extern struct Winthread Winthread;
#ifdef AUDIO
#define AC_NUM_GROUP_COMMANDS 22
#define AC_NUM_GROUP_COMMANDS 23
#else
#define AC_NUM_GROUP_COMMANDS 18
#define AC_NUM_GROUP_COMMANDS 19
#endif /* AUDIO */
/* Array of groupchat command names used for tab completion. */
@ -91,6 +91,7 @@ static const char group_cmd_list[AC_NUM_GROUP_COMMANDS][MAX_CMDNAME_SIZE] = {
{ "/myid" },
{ "/nick" },
{ "/note" },
{ "/nospam" },
{ "/quit" },
{ "/requests" },
{ "/status" },