diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCBridgeModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCBridgeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCBridgeModule.cs index 4594e6c..c8d8307 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCBridgeModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/XIRCBridgeModule.cs | |||
@@ -228,7 +228,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
228 | { | 228 | { |
229 | if (!requestData.ContainsKey("password")) | 229 | if (!requestData.ContainsKey("password")) |
230 | throw new Exception("Invalid request"); | 230 | throw new Exception("Invalid request"); |
231 | if (requestData["password"] != password) | 231 | if ((string)requestData["password"] != password) |
232 | throw new Exception("Invalid request"); | 232 | throw new Exception("Invalid request"); |
233 | } | 233 | } |
234 | 234 | ||