1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-02 09:06: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

@ -51,9 +51,9 @@ extern FriendsList Friends;
FriendRequests FrndRequests;
#ifdef AUDIO
#define AC_NUM_GLOB_COMMANDS 18
#define AC_NUM_GLOB_COMMANDS 19
#else
#define AC_NUM_GLOB_COMMANDS 16
#define AC_NUM_GLOB_COMMANDS 17
#endif /* AUDIO */
/* Array of global command names used for tab completion. */
@ -71,6 +71,7 @@ static const char glob_cmd_list[AC_NUM_GLOB_COMMANDS][MAX_CMDNAME_SIZE] = {
{ "/myid" },
{ "/nick" },
{ "/note" },
{ "/nospam" },
{ "/quit" },
{ "/requests" },
{ "/status" },