Advertisement
Blizzardo1

BlizzetaZero Connection

Apr 30th, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.82 KB | None | 0 0
  1. foreach (
  2.                 Irc irc in
  3.                     GlobalSettings.Networks.Select (
  4.                         netw =>
  5.                             new Irc ( netw.Nick, netw.RealName, netw.Ident, netw.AuthenticationService, netw.NickServPass,
  6.                                 netw.ServerHost,
  7.                                 netw.ServerPassword, netw.ServerPort, netw.LastKnownCode, netw.Color, netw.Id,
  8.                                 netw.Email,
  9.                                 netw.SetupChannel, 200, netw.Ssl ) { DebugChannel = netw.DebugChannel, DebugChannelKey = netw.DebugChannelKey } ) )
  10.             {
  11.                 irc.OnMotd += irc_OnMotd;
  12.                 irc.Connect ( irc.Host, irc.Port );
  13.                 ConnectedIrcNetworks.Add ( irc.Id.ToString ( ), irc );
  14.                 Thread.Sleep ( 100 );
  15.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement