aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
diff options
context:
space:
mode:
authorDr Scofield2008-10-23 09:58:12 +0000
committerDr Scofield2008-10-23 09:58:12 +0000
commitdbd8e1edb5b2ce0e686b23200ff297fc3d004b5b (patch)
treefcc577b215a02ed5e0b3833227e657df509a4da2 /OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
parentThank you kindly, Idb for a patch that: (diff)
downloadopensim-SC_OLD-dbd8e1edb5b2ce0e686b23200ff297fc3d004b5b.zip
opensim-SC_OLD-dbd8e1edb5b2ce0e686b23200ff297fc3d004b5b.tar.gz
opensim-SC_OLD-dbd8e1edb5b2ce0e686b23200ff297fc3d004b5b.tar.bz2
opensim-SC_OLD-dbd8e1edb5b2ce0e686b23200ff297fc3d004b5b.tar.xz
cleaning up commented lines in IRCConnector; changing access_password
logic to use a regexp.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
index 9ad467e..ddf6601 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/IRCConnector.cs
@@ -135,8 +135,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
135 set { m_server = value; } 135 set { m_server = value; }
136 } 136 }
137 137
138 public string m_accessPassword = "badkitty";
139
140 private string m_privmsgformat = "PRIVMSG {0} :<{1} in {2}>: {3}"; 138 private string m_privmsgformat = "PRIVMSG {0} :<{1} in {2}>: {3}";
141 private StreamReader m_reader; 139 private StreamReader m_reader;
142 private List<Scene> m_scenes = new List<Scene>(); 140 private List<Scene> m_scenes = new List<Scene>();
@@ -188,20 +186,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
188 m_port = (uint)config.Configs["IRC"].GetInt("port", (int)m_port); 186 m_port = (uint)config.Configs["IRC"].GetInt("port", (int)m_port);
189 m_user = config.Configs["IRC"].GetString("username", m_user); 187 m_user = config.Configs["IRC"].GetString("username", m_user);
190 m_privmsgformat = config.Configs["IRC"].GetString("msgformat", m_privmsgformat); 188 m_privmsgformat = config.Configs["IRC"].GetString("msgformat", m_privmsgformat);
191 // m_commandChannel = config.Configs["IRC"].GetInt("commandchannel", m_commandChannel);
192 189
193 // m_verbosity = config.Configs["IRC"].GetInt("verbosity", m_verbosity);
194 m_clientReporting = config.Configs["IRC"].GetInt("verbosity", 2) > 0; 190 m_clientReporting = config.Configs["IRC"].GetInt("verbosity", 2) > 0;
195 m_clientReporting = config.Configs["IRC"].GetBoolean("report_clients", m_clientReporting); 191 m_clientReporting = config.Configs["IRC"].GetBoolean("report_clients", m_clientReporting);
196 192
197 // m_messageOutChannel = config.Configs["IRC"].GetInt("outchannel", m_messageOutChannel);
198 // m_messageInChannel = config.Configs["IRC"].GetInt("inchannel", m_messageInChannel);
199 m_relayPrivateChannels = config.Configs["IRC"].GetBoolean("relay_private_channels", m_relayPrivateChannels); 193 m_relayPrivateChannels = config.Configs["IRC"].GetBoolean("relay_private_channels", m_relayPrivateChannels);
200 m_relayPrivateChannels = config.Configs["IRC"].GetBoolean("useworldcomm", m_relayPrivateChannels); //compat 194 m_relayPrivateChannels = config.Configs["IRC"].GetBoolean("useworldcomm", m_relayPrivateChannels); //compat
201 m_relayChannel = config.Configs["IRC"].GetInt("relay_private_channel_in", m_relayChannel); 195 m_relayChannel = config.Configs["IRC"].GetInt("relay_private_channel_in", m_relayChannel);
202 m_relayChannel = config.Configs["IRC"].GetInt("inchannel", m_relayChannel); 196 m_relayChannel = config.Configs["IRC"].GetInt("inchannel", m_relayChannel);
203 m_accessPassword = config.Configs["IRC"].GetString("access_password",m_accessPassword);
204 // m_useWorldComm = config.Configs["IRC"].GetBoolean("useworldcomm", m_useWorldComm);
205 197
206 if (m_server != null && m_baseNick != null && m_ircChannel != null) 198 if (m_server != null && m_baseNick != null && m_ircChannel != null)
207 { 199 {