fix irc protocol

0.9.1.0-post-fixes
UbitUmarov 2019-01-08 23:09:22 +00:00
parent 47ae155f13
commit 7d9d862e8b
1 changed files with 2 additions and 1 deletions

View File

@ -358,7 +358,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
m_writer.WriteLine(String.Format("PASS {0}", m_password));
m_writer.WriteLine(String.Format("NICK {0}", m_nick));
m_writer.Flush();
m_writer.WriteLine(m_user);
m_writer.WriteLine(String.Format("USER {0} 0 * :OpenSim Relay",m_user));
m_writer.Flush();
}
catch (Exception e)
@ -637,6 +637,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
case "003": // Welcome ...
break;
case "004": // Server information
m_log.DebugFormat("[IRC-Connector-{0}] [{1}] parms = <{2}>", idn, cmd, parms);
commArgs = parms.Split(CS_SPACE);
c_server = commArgs[1];