summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index cd73cae..af67988 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -241,6 +241,7 @@ void cSearchTimerThread::Action(void)
// for thread safeness we work with a copy of the current searches,
// because SVDRP would not work if the main thread would be locked
cSearchExts* localSearchExts = SearchExts.Clone();
+ localSearchExts->SortBy(CompareSearchExtPrioDescTerm);
cSearchExt *searchExt = localSearchExts->First();
// reset announcelist
announceList.Clear();