diff --git a/botthread.c b/botthread.c index a042488..49513c7 100644 --- a/botthread.c +++ b/botthread.c @@ -53,15 +53,15 @@ sSendData(userConnection,"MSG:TUveD:STATUS:Sorry I'm Having MySQL Troubles.\n"); } else if (mysql_num_rows(res) == 1) { - sprintf(output,"MSG:TUveD:%s:You have successfully logged in.\n",chan); - sSendData(userConnection,output); + //sprintf(output,); + sSendData(userConnection,"MSG:TUveD:%s:You have successfully logged in.\n",chan); sprintf(output,"EMOTE:%s:STATUS:Is now an Evil Overlord!\n",userConnection->userInfo.username); tuveSendAllInUsersChans(userConnection,output); userConnection->userInfo.mode = 1; } else { - sprintf(output,"MSG:TUveD:%s:You have failed login. Your connection will now be terminated!\n",chan); - sSendData(userConnection,output); + //sprintf(output,); + sSendData(userConnection,"MSG:TUveD:%s:You have failed login. Your connection will now be terminated!\n",chan); tuveDelUserChans(userConnection,"This Mother Fucker Tried To Login With The Wrong Password!"); userConnection->userInfo.status = -1; } @@ -172,7 +172,6 @@ row = mysql_fetch_row(res); tuveBotSetSong(chan,userConnection->userInfo.username,row[0],row[1],atoi(row[3]),row[2],atoi(row[4])); } - } return(0x0); @@ -303,8 +302,6 @@ } } - - min = length / 60; sec = length % 60;