getting irc working

master
lza_menace 2 years ago
parent 84ba83fe5c
commit e5b26432b6

@ -57,3 +57,62 @@
:wowboombox!~wowboombo@47.209.29.77 MODE wowboombox :+i
:CTCPServ!services@services.oftc.net PRIVMSG wowboombox :VERSION
PING :reflection.oftc.net
ERROR :Closing Link: 47.209.29.77 (Ping timeout: 480 seconds)
:larich.oftc.net NOTICE AUTH :*** Looking up your hostname...
:larich.oftc.net NOTICE AUTH :*** Checking Ident
:larich.oftc.net NOTICE AUTH :*** Couldn't look up your hostname
:larich.oftc.net NOTICE AUTH :*** No Ident response
:larich.oftc.net 001 wowboombox :Welcome to the OFTC Internet Relay Chat Network wowboombox
:larich.oftc.net 002 wowboombox :Your host is larich.oftc.net[140.211.166.64/6667], running version hybrid-7.2.2+oftc1.7.3
:larich.oftc.net 003 wowboombox :This server was created Aug 9 2022 at 01:17:04
:larich.oftc.net 004 wowboombox larich.oftc.net hybrid-7.2.2+oftc1.7.3 CDGPRSabcdfgijklnorsuwxyz bciklmnopstvzeIMRS bkloveI
:larich.oftc.net 005 wowboombox CALLERID CASEMAPPING=rfc1459 DEAF=D KICKLEN=160 MODES=4 NICKLEN=30 PREFIX=(ov)@+ STATUSMSG=@+ TOPICLEN=391 NETWORK=OFTC MAXLIST=beI:100 MAXTARGETS=1 CHANTYPES=# :are supported by this server
:larich.oftc.net 005 wowboombox CHANLIMIT=#:250 CHANNELLEN=50 CHANMODES=eIqb,k,l,cimnpstzMRS AWAYLEN=160 ELIST=CMNTU SAFELIST KNOCK EXCEPTS=e INVEX=I :are supported by this server
:larich.oftc.net 042 wowboombox 9O6AABAIY :your unique ID
:larich.oftc.net 251 wowboombox :There are 33 users and 30362 invisible on 19 servers
:larich.oftc.net 252 wowboombox 20 :IRC Operators online
:larich.oftc.net 253 wowboombox 28 :unknown connection(s)
:larich.oftc.net 254 wowboombox 4068 :channels formed
:larich.oftc.net 255 wowboombox :I have 1087 clients and 1 servers
:larich.oftc.net 265 wowboombox :Current local users: 1087 Max: 1118
:larich.oftc.net 266 wowboombox :Current global users: 30395 Max: 31261
:larich.oftc.net 250 wowboombox :Highest connection count: 1119 (1118 clients) (46969 connections received)
:larich.oftc.net 375 wowboombox :- larich.oftc.net Message of the Day -
:larich.oftc.net 372 wowboombox :- O
:larich.oftc.net 372 wowboombox :- \ The Open and Free
:larich.oftc.net 372 wowboombox :- O Technology Community
:larich.oftc.net 372 wowboombox :- /| https://www.oftc.net
:larich.oftc.net 372 wowboombox :- O-O O
:larich.oftc.net 372 wowboombox :-
:larich.oftc.net 372 wowboombox :- Welcome to the OFTC IRC Network.
:larich.oftc.net 372 wowboombox :-
:larich.oftc.net 372 wowboombox :- The Open and Free Technology Community was founded at the
:larich.oftc.net 372 wowboombox :- end of 2001 by a group of experienced members of the Open
:larich.oftc.net 372 wowboombox :- Source and Free Software communities; it is aimed at
:larich.oftc.net 372 wowboombox :- providing these communities with better communication,
:larich.oftc.net 372 wowboombox :- development, and support infrastructure. Our goal is to
:larich.oftc.net 372 wowboombox :- provide stable services to members of the community in any
:larich.oftc.net 372 wowboombox :- part of the world, while listening closely to their needs
:larich.oftc.net 372 wowboombox :- and desires.
:larich.oftc.net 372 wowboombox :-
:larich.oftc.net 372 wowboombox :- We are not a general purpose chat platform, but a topical
:larich.oftc.net 372 wowboombox :- network intent on providing the open source and free
:larich.oftc.net 372 wowboombox :- software communities a means to cooperate and communicate.
:larich.oftc.net 372 wowboombox :- As such, illegal and off-topic activity, such as warez
:larich.oftc.net 372 wowboombox :- trading, will result in being barred from access.
:larich.oftc.net 372 wowboombox :-
:larich.oftc.net 372 wowboombox :- OFTC honors your privacy. To operate the network, we store
:larich.oftc.net 372 wowboombox :- and process information about IRC connections, nicknames,
:larich.oftc.net 372 wowboombox :- and channels. Our Privacy Policy explains what we do with
:larich.oftc.net 372 wowboombox :- that data, and what your rights are. By connecting, you
:larich.oftc.net 372 wowboombox :- accept these terms: https://www.oftc.net/Privacy_Policy/
:larich.oftc.net 372 wowboombox :-
:larich.oftc.net 372 wowboombox :- If you require assistance with using the OFTC IRC network,
:larich.oftc.net 372 wowboombox :- stop by in channel #oftc, or email support@oftc.net with
:larich.oftc.net 372 wowboombox :- details. For help with non-IRC questions please refer to
:larich.oftc.net 372 wowboombox :- the respective channels and project homepages.
:larich.oftc.net 372 wowboombox :-
:larich.oftc.net 372 wowboombox :- Thanks and enjoy your stay! The OFTC team.
:larich.oftc.net 376 wowboombox :End of /MOTD command.
:wowboombox!~wowboombo@47.209.29.77 MODE wowboombox :+i
:CTCPServ!services@services.oftc.net PRIVMSG wowboombox :VERSION

@ -103,7 +103,9 @@ impl eframe::App for App {
self.irc.run().expect("wtf mate");
self.irc_connected = true;
} else if self.show_irc {
ui.label(self.irc.read_irc_log());
egui::ScrollArea::vertical().show(ui, |ui| {
ui.label(self.irc.read_irc_log());
});
}
if self.show_market_data {
egui::ComboBox::from_label("Pick currency base.")

@ -4,7 +4,6 @@
// distribution of this software for license terms.
use std::fs::OpenOptions;
use std::io::prelude::*;
use std::io::{Read, Write};
use std::collections::HashMap;
use std::net::TcpStream;