only call SessionManager when sesskey is not nil
This commit is contained in:
parent
fab022df18
commit
6b2c5b2695
|
@ -162,7 +162,9 @@ defmodule Floof do
|
|||
backlog
|
||||
|
||||
:drop ->
|
||||
Floof.SessionManager.drop(sesskey, hashes)
|
||||
if sesskey != nil do
|
||||
Floof.SessionManager.drop(sesskey, hashes)
|
||||
end
|
||||
Map.drop(backlog, hashes)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue