diff options
Diffstat (limited to 'OpenGrid.Framework.Manager/GridServerManager.cs')
-rw-r--r-- | OpenGrid.Framework.Manager/GridServerManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenGrid.Framework.Manager/GridServerManager.cs b/OpenGrid.Framework.Manager/GridServerManager.cs index 16ea6e8..c536e33 100644 --- a/OpenGrid.Framework.Manager/GridServerManager.cs +++ b/OpenGrid.Framework.Manager/GridServerManager.cs | |||
@@ -19,7 +19,7 @@ namespace OpenGrid.Framework.Manager { | |||
19 | Hashtable requestData = (Hashtable)request.Params[0]; | 19 | Hashtable requestData = (Hashtable)request.Params[0]; |
20 | Hashtable responseData = new Hashtable(); | 20 | Hashtable responseData = new Hashtable(); |
21 | 21 | ||
22 | if(requestData["authkey"]!=recvkey) { | 22 | if((string)requestData["authkey"] != recvkey) { |
23 | responseData["error"]="INVALID KEY"; | 23 | responseData["error"]="INVALID KEY"; |
24 | } else { | 24 | } else { |
25 | responseData["msg"]="Shutdown command accepted"; | 25 | responseData["msg"]="Shutdown command accepted"; |