on master help sign in
fix new hlint suggestion
commitc514a087de3af896d8129f9e806bd77d17869a2c authorAgentM <agentm@themactionfaction.com> dateMon 1 Jul 2019, 22:43 (7 years ago) parentbc3997f
1 file changed+1−5
src/lib/ProjectM36/Server.hs+1−5
src/lib/ProjectM36/Server.hs+1−5
@@ -55,11 +55,7 @@ serverDefinition testBool ti = defaultProcess {
5555 --unhandledMessagePolicy = Log
5656 }
5757 where
58− testModeHandlers = if not testBool then
59− []
60− else
61− [handleCall (\conn (TestTimeout sessionId) -> handleTestTimeout ti sessionId conn)]
62−
58+ testModeHandlers = [handleCall (\conn (TestTimeout sessionId) -> handleTestTimeout ti sessionId conn) | testBool]
6359
6460initServer :: InitHandler (Connection, DatabaseName, Maybe (MVar EndPointAddress), EndPointAddress) Connection
6561initServer (conn, dbname, mAddressMVar, saddress) = do