logic error
This commit is contained in:
parent
6e7a43ab61
commit
99989bcc8e
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ enqueue reason schedule t info
|
|||
q <- getAssistant transferQueue
|
||||
liftIO $ atomically $ do
|
||||
l <- readTVar (queuelist q)
|
||||
if (new `elem` l)
|
||||
if (new `notElem` l)
|
||||
then do
|
||||
void $ modifyTVar' (queuesize q) succ
|
||||
void $ modifyTVar' (queuelist q) modlist
|
||||
|
|
Loading…
Reference in a new issue