diff --git a/tuve.c b/tuve.c index 96611ea..2143a34 100644 --- a/tuve.c +++ b/tuve.c @@ -168,7 +168,6 @@ if (msg == 0x0) goto Tail; - //return(0x0); if (chan[0] != '#') { if ((strlen(msg) > 2) && (msg[0] == '.' && msg[1] == 't' && msg[2] == 'v')) @@ -176,14 +175,10 @@ else { tmpConnection = findNick(chan); if (tmpConnection != 0x0) { -/* - sprintf(output,"MSG:%s:PRIVMSG:",userConnection->userInfo.username); - strcpy((char *)&output + strlen(output),msg); - output[strlen(output)+1] = '\n'; -*/ - //%s\n",userConnection->userInfo.username,msg); sSendData(tmpConnection,"MSG:%s:PRIVMSG:%s",userConnection->userInfo.username,msg); } + else + sSendData(userConnection,"MSG:%s:PRIVMSG:Is Not Available.",chan); } } else if (tuveVerifyBan(chan,userConnection->userInfo.username) == 0x1) {