-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathirc.cpp
More file actions
25 lines (23 loc) · 1.12 KB
/
irc.cpp
File metadata and controls
25 lines (23 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* irc.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sel-mars <sel-mars@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/08 14:41:31 by sel-mars #+# #+# */
/* Updated: 2023/04/01 20:03:55 by sel-mars ### ########.fr */
/* */
/* ************************************************************************** */
#include "irc.hpp"
int main( int ac, char** av ) {
try {
irc::server ircserv( ac, av );
ircserv.initServer();
ircserv.runServer();
return 0;
} catch ( std::exception& e ) {
std::cerr << "\033[1;31m" << e.what() << '\n';
return 1;
}
}