diff options
author | stuebinm | 2022-04-07 16:04:04 +0200 |
---|---|---|
committer | stuebinm | 2022-04-07 16:04:04 +0200 |
commit | bbc5b557838c750e66759602b6a48d23da780c24 (patch) | |
tree | b393906a2247517f0b2fcc256cf935f7fdfc3279 | |
parent | 73e7a69828597927f35e080d379278a847bed208 (diff) |
linter: unless ain't the same as if
-rw-r--r-- | lib/Properties.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs index 18a0520..291827f 100644 --- a/lib/Properties.hs +++ b/lib/Properties.hs @@ -363,7 +363,7 @@ checkTileThing removeExits p@(Property name _value) = case name of suggestProperty $ Property "jitsiTrigger" "onaction" -- prevents namespace clashes for jitsi room names - if "shared" `isPrefixOf` jitsiRoom then do + if not ("shared" `isPrefixOf` jitsiRoom) then do assemblyname <- lintConfig configAssemblyTag setProperty "jitsiRoom" (assemblyname <> "-" <> jitsiRoom) offersJitsi (assemblyname <> "-" <> jitsiRoom) |