diff options
author | Melanie | 2019-08-21 21:15:58 +0100 |
---|---|---|
committer | Melanie | 2019-08-21 21:15:58 +0100 |
commit | 7e136c67fd89f6c559420093acdee867967773bb (patch) | |
tree | 6b9f5d4d81dff6821937684a5baf1e6c3ad75efc /OpenSim/Framework/Console | |
parent | Massive console refactor. Greatly simplify interface. (diff) | |
download | opensim-SC-7e136c67fd89f6c559420093acdee867967773bb.zip opensim-SC-7e136c67fd89f6c559420093acdee867967773bb.tar.gz opensim-SC-7e136c67fd89f6c559420093acdee867967773bb.tar.bz2 opensim-SC-7e136c67fd89f6c559420093acdee867967773bb.tar.xz |
Call SetServer on consoles reflectively to avoid having type checks in places where it tends to be forgotten to update them.
Diffstat (limited to 'OpenSim/Framework/Console')
-rwxr-xr-x | OpenSim/Framework/Console/RemoteConsole.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs index 16b4636..11006a9 100755 --- a/OpenSim/Framework/Console/RemoteConsole.cs +++ b/OpenSim/Framework/Console/RemoteConsole.cs | |||
@@ -46,6 +46,8 @@ namespace OpenSim.Framework.Console | |||
46 | // | 46 | // |
47 | public class RemoteConsole : CommandConsole | 47 | public class RemoteConsole : CommandConsole |
48 | { | 48 | { |
49 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
50 | |||
49 | // Connection specific data, indexed by a session ID | 51 | // Connection specific data, indexed by a session ID |
50 | // we create when a client connects. | 52 | // we create when a client connects. |
51 | protected class ConsoleConnection | 53 | protected class ConsoleConnection |