Added quit comman
This commit is contained in:
parent
8193960ccf
commit
ea6ce649f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user