fixing vavaas issues

This commit is contained in:
Kbz-8
2024-02-07 16:58:38 +01:00
parent 699036361b
commit 44d9ec54d6
10 changed files with 122 additions and 58 deletions

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/29 20:36:23 by vvaas #+# #+# */
/* Updated: 2024/02/06 12:35:38 by vvaas ### ########.fr */
/* Updated: 2024/02/07 16:34:12 by maldavid ### ########.fr */
/* */
/******************************************************************************/
@@ -16,7 +16,10 @@
int main(int argc, char **argv)
{
if(argc != 4)
irc::logs::report(irc::log_fatal_error, "./greg <ip address> <port> <password>");
{
irc::logs::report(irc::log_error, "./greg <ip address> <port> <password>");
return 1;
}
Bot greg;
if(!greg.init(argv[1], argv[2], argv[3]))