--- a/include/irc.h +++ b/include/irc.h @@ -19,7 +19,7 @@ char *command; char *channel; char *line; - char *current_channel; + char current_channel[41]; }; typedef struct Message MSG;