Fixed hostory for queries
This commit is contained in:
parent
e40ae9590d
commit
1ceaa48b78
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ void interpreter (char *line UU) {
|
|||
int len;
|
||||
char *text = get_token (&q, &len);
|
||||
int index = 0;
|
||||
while (index < user_num + chat_num && (!Peers[index]->print_name || strncmp (Peers[index]->print_name, text, len) || Peers[index]->id < 0)) {
|
||||
while (index < user_num + chat_num && (!Peers[index]->print_name || strncmp (Peers[index]->print_name, text, len))) {
|
||||
index ++;
|
||||
}
|
||||
if (index < user_num + chat_num) {
|
||||
|
|
Loading…
Add table
Reference in a new issue