diff --git a/main_menu.c b/main_menu.c index 1bfbda3..c2d80f5 100644 --- a/main_menu.c +++ b/main_menu.c @@ -68,7 +68,7 @@ void main_menu(struct user_record *user) { switch(tolower(c)) { case 'o': { - automessage_write(socket, user); + automessage_write(user); } break; case 'a':