diff --git a/include/chat/flags.h b/include/chat/flags.h index c864972..2f94745 100644 --- a/include/chat/flags.h +++ b/include/chat/flags.h @@ -56,7 +56,7 @@ extern "C" { #define WHY2_CHAT_COMMAND_EXIT "exit" //QUIT THE PROGRAM CMD #define WHY2_CHAT_COMMAND_HELP "help" //PRINT ALL COMMANDS #define WHY2_CHAT_COMMAND_LIST "list" //LIST ALL CONNECTIONS -#define WHY2_CHAT_COMMAND_PM "pm" //PRIVATE MESSAGES +#define WHY2_CHAT_COMMAND_DM "dm" //DIRECT (UNENCRYPTED) MESSAGES #define WHY2_CHAT_COMMAND_VERSION "version" //COMPARE CLIENT VERSION AND SERVER VERSION //SHORTCUTS CAUSE I'M LAZY BITCH diff --git a/src/chat/main/client.c b/src/chat/main/client.c index 89810d3..0643bd4 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -188,14 +188,14 @@ int main(void) "\nCommands:\n---------\n%s\n\n>>> ", WHY2_CHAT_COMMAND_PREFIX WHY2_CHAT_COMMAND_HELP "\t\tPrints out all the commands. :)\n" - WHY2_CHAT_COMMAND_PREFIX WHY2_CHAT_COMMAND_PM " \tSends private message to user.\n" + WHY2_CHAT_COMMAND_PREFIX WHY2_CHAT_COMMAND_DM " \tSends direct message to user.\n" WHY2_CHAT_COMMAND_PREFIX WHY2_CHAT_COMMAND_LIST "\t\tLists all users and their IDs.\n" WHY2_CHAT_COMMAND_PREFIX WHY2_CHAT_COMMAND_VERSION "\tCheck server version.\n" WHY2_CHAT_COMMAND_PREFIX WHY2_CHAT_COMMAND_EXIT "\t\tExits the program." ); fflush(stdout); - } else if (command(line, WHY2_CHAT_COMMAND_PM, &cmd_arg)) + } else if (command(line, WHY2_CHAT_COMMAND_DM, &cmd_arg)) { char *id; //PM RECEIVER char *msg; //something racial