Added quit comman

This commit is contained in:
vysheng 2013-11-09 22:23:11 +04:00
parent 8193960ccf
commit ea6ce649f8

View File

@ -261,6 +261,7 @@ char *commands[] = {
"status_online",
"status_offline",
"contacts_search",
"quit",
0 };
int commands_flags[] = {
@ -297,6 +298,7 @@ int commands_flags[] = {
07,
07,
07,
07,
};
int get_complete_mode (void) {
@ -807,6 +809,8 @@ void interpreter (char *line UU) {
RET;
}
do_contacts_search (100, s);
} else if (IS_WORD ("quit")) {
exit (0);
}
#undef IS_WORD
#undef RET