summaryrefslogtreecommitdiffstats
path: root/Plugins/Core/web_reload.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/Core/web_reload.lua')
-rw-r--r--Plugins/Core/web_reload.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Core/web_reload.lua b/Plugins/Core/web_reload.lua
index 45ed1a40b..3a59ad6b6 100644
--- a/Plugins/Core/web_reload.lua
+++ b/Plugins/Core/web_reload.lua
@@ -1,7 +1,7 @@
function HandleRequest_Reload( Request )
local Content = ""
- if( Request.PostParams:get("reload") ~= "" ) then
+ if( Request.PostParams["reload"] ~= nil ) then
Content = Content .. "<head><meta http-equiv=\"refresh\" content=\"2;././\"></head>"
Content = Content .. "<p>Reloading plugins... This can take a while depending on the plugins you're using.</p>"
cRoot:Get():GetPluginManager():ReloadPlugins()