aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2009-04-01 12:28:46 +0000
committerMelanie Thielker2009-04-01 12:28:46 +0000
commita1fe54baa0d3610da5e4c2821b48d0a4c9390bd5 (patch)
treee884166da240f7b01c37924eb36d018190b1fe60 /OpenSim
parentAdd a PIDFile in [Startup], which the PID will be written to (diff)
downloadopensim-SC_OLD-a1fe54baa0d3610da5e4c2821b48d0a4c9390bd5.zip
opensim-SC_OLD-a1fe54baa0d3610da5e4c2821b48d0a4c9390bd5.tar.gz
opensim-SC_OLD-a1fe54baa0d3610da5e4c2821b48d0a4c9390bd5.tar.bz2
opensim-SC_OLD-a1fe54baa0d3610da5e4c2821b48d0a4c9390bd5.tar.xz
Add a "user" config option to the IRC module config. Like all other IRC
config options, this has NO default, if you use the IRC module, you MUST add this setting to your ini file.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Chat/ChannelState.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Chat/ChannelState.cs b/OpenSim/Region/OptionalModules/Avatar/Chat/ChannelState.cs
index 167f0cc..2f3de69 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Chat/ChannelState.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Chat/ChannelState.cs
@@ -60,7 +60,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
60 internal string IrcChannel = null; 60 internal string IrcChannel = null;
61 internal string BaseNickname = "OSimBot"; 61 internal string BaseNickname = "OSimBot";
62 internal uint Port = 6667; 62 internal uint Port = 6667;
63 internal string User = "USER OpenSimBot 8 * :I'm an OpenSim to IRC bot"; 63 internal string User = null;
64 64
65 internal bool ClientReporting = true; 65 internal bool ClientReporting = true;
66 internal bool RelayChat = true; 66 internal bool RelayChat = true;
@@ -163,6 +163,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
163 m_log.DebugFormat("[IRC-Channel-{0}] Server : <{1}>", cs.idn, cs.Server); 163 m_log.DebugFormat("[IRC-Channel-{0}] Server : <{1}>", cs.idn, cs.Server);
164 cs.Password = Substitute(rs, config.GetString("password", null)); 164 cs.Password = Substitute(rs, config.GetString("password", null));
165 // probably not a good idea to put a password in the log file 165 // probably not a good idea to put a password in the log file
166 cs.User = Substitute(rs, config.GetString("user", null));
166 cs.IrcChannel = Substitute(rs, config.GetString("channel", null)); 167 cs.IrcChannel = Substitute(rs, config.GetString("channel", null));
167 m_log.DebugFormat("[IRC-Channel-{0}] IrcChannel : <{1}>", cs.idn, cs.IrcChannel); 168 m_log.DebugFormat("[IRC-Channel-{0}] IrcChannel : <{1}>", cs.idn, cs.IrcChannel);
168 cs.Port = Convert.ToUInt32(Substitute(rs, config.GetString("port", Convert.ToString(cs.Port)))); 169 cs.Port = Convert.ToUInt32(Substitute(rs, config.GetString("port", Convert.ToString(cs.Port))));