Пример #1
0
 private void ParentServer_OnPart(object sender, PartEventArgs e)
 {
     AddLine(ChannelStrings.PartWithReason.With(e.User.Nick + ":" + e.Channel, e.User.HostMask, String.Empty));
 }
Пример #2
0
        private void server_PartSelf(object sender, PartEventArgs e)
        {
            NetworkSettings nwSettings = IrcSettingsManager.Instance.GetNetwork(Server);

            ChannelSettings chan = nwSettings.GetChannel(e.Channel.Name);

            chan.AutoJoin = false;
        }