Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            while (true) {
                sqlLogger = new Logger (sql_uid, sql_pass, sql_db, sql_host);
                irc = new IRCHandler (server, port, channels, nick, name, hashAuth);
                Listener = new IRCListener (irc, sqlLogger);

                irc.setListenerAndConnect (Listener);
            }
        }
Exemplo n.º 2
0
 public IRCListener(IRCHandler irc, Logger loggerHandle)
 {
     ircHandle = irc;
     logger = loggerHandle;
 }