diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Grid')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Grid/Interregion/InterregionModule.cs | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/OpenSim/Region/Environment/Modules/Grid/Interregion/InterregionModule.cs b/OpenSim/Region/Environment/Modules/Grid/Interregion/InterregionModule.cs index 423f0b5..89ee61a 100644 --- a/OpenSim/Region/Environment/Modules/Grid/Interregion/InterregionModule.cs +++ b/OpenSim/Region/Environment/Modules/Grid/Interregion/InterregionModule.cs | |||
@@ -152,18 +152,19 @@ namespace OpenSim.Region.Environment.Modules.Grid.Interregion | |||
152 | 152 | ||
153 | public void PostInitialise() | 153 | public void PostInitialise() |
154 | { | 154 | { |
155 | if (m_enabled) | 155 | // Commenting out to remove 'unreachable code' warning since m_enabled is never true |
156 | { | 156 | // if (m_enabled) |
157 | try | 157 | // { |
158 | { | 158 | // try |
159 | m_tcpPort = m_config.Configs["Comms"].GetInt("remoting_port", m_tcpPort); | 159 | // { |
160 | } | 160 | // m_tcpPort = m_config.Configs["Comms"].GetInt("remoting_port", m_tcpPort); |
161 | catch | 161 | // } |
162 | { | 162 | // catch |
163 | } | 163 | // { |
164 | 164 | // } | |
165 | internal_CreateRemotingObjects(); | 165 | // |
166 | } | 166 | // internal_CreateRemotingObjects(); |
167 | // } | ||
167 | } | 168 | } |
168 | 169 | ||
169 | public void Close() | 170 | public void Close() |