summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-06-03 20:02:03 +0100
committerSadie Powell <sadie@witchery.services>2024-06-03 20:02:03 +0100
commit4468fe77fa363ff82e408cd4b97667c559639733 (patch)
tree4dd5d618a2e829cd808569f25d37da833a623c92 /modules
parente71a9e289441fd78ffa1bd3d8c20ea2cb8542426 (diff)
Fix an inverted if in the global odule.
Diffstat (limited to 'modules')
-rw-r--r--modules/global/global.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/global/global.cpp b/modules/global/global.cpp
index b5c5a4a31..ef8bb0f64 100644
--- a/modules/global/global.cpp
+++ b/modules/global/global.cpp
@@ -153,9 +153,9 @@ public:
}
if (server)
- this->ServerGlobal(sender, Servers::GetUplink(), true, line);
- else
this->ServerGlobal(sender, server, false, line);
+ else
+ this->ServerGlobal(sender, Servers::GetUplink(), true, line);
return true;
}