Beispiel #1
0
        // Login: Log into the IRC server
        public void Login(AuthentificationInformations ai)
        {
            // If the client isn't connected, return
            if (!IsConnected)
            {
                return;
            }

            // Send the login informations and join the wanted channel
            SendData(new string[] {
                "PASS " + ai.Password,
                "NICK " + ai.Nick,
                "JOIN #" + currentChannel
            });
        }
Beispiel #2
0
        // Login: Log into the IRC server
        public void Login(AuthentificationInformations ai)
        {
            // If the client isn't connected, return
            if (!IsConnected) return;

            // Send the login informations and join the wanted channel
            SendData(new string[] {
                "PASS " + ai.Password,
                "NICK " + ai.Nick,
                "JOIN #" + currentChannel
            });
        }