diff --git a/channel.c b/channel.c index 028463b..6c6ee46 100644 --- a/channel.c +++ b/channel.c @@ -27,7 +27,7 @@ tuveSendAllInChan(channel,userConnection,output); /* Notify people in the channel that someone has joined */ - sprintf(output,"chanmsg:TUveD:%s:%s has joined the channel.",channel,userConnection->userInfo.username); + sprintf(output,"chanmsg:TUveD:%s:%s has joined the channel.\n",channel,userConnection->userInfo.username); tuveSendAllInChan(channel,userConnection,output); return(0x0); @@ -42,7 +42,7 @@ tmpChan2 = tmpChan; for (;tmpChan != 0x0;tmpChan = tmpChan->next) { - sprintf(output,"chanmsg:EVIL NOTIFICATION:%s:%s Quit (Sig Pipe)",tmpChan->channel,userConnection->userInfo.username); + sprintf(output,"chanmsg:EVIL NOTIFICATION:%s:%s Quit (Sig Pipe)\n",tmpChan->channel,userConnection->userInfo.username); tuveSendAllInChan(tmpChan->channel,userConnection,output); sprintf(output,"PART:%s:%s\n",tmpChan->channel,userConnection->userInfo.username); tuveSendAllInChan(tmpChan->channel,userConnection,output);