public void Init() { instance = IrcProtocol.GetInstance(); }
/// <summary> /// Gets the instance of the protocol representation class. /// </summary> /// <returns>The singleton instance.</returns> public static IrcProtocol GetInstance() { if (instance == null) { instance = new IrcProtocol(); } return instance; }