mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Initialize update list only for queries that are neither grouprooms or masterinfo
This commit is contained in:
parent
12880db557
commit
a4267d4f77
1 changed files with 4 additions and 2 deletions
|
@ -377,8 +377,10 @@ GError ServerListUpdate2(GServerList serverlist, gbool async, char *filter, GQue
|
|||
if (error) return error;
|
||||
error = SendListRequest(serverlist, filter);
|
||||
if (error) return error;
|
||||
if (querytype != qt_grouprooms && querytype != qt_masterinfo) {
|
||||
error = InitUpdateList(serverlist);
|
||||
if (error) return error;
|
||||
}
|
||||
serverlist->nextupdate = 0;
|
||||
serverlist->abortupdate = 0;
|
||||
// Added in 2.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue