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