diff --git a/botthread.c b/botthread.c index b05036c..804bef3 100644 --- a/botthread.c +++ b/botthread.c @@ -49,7 +49,7 @@ row = mysql_fetch_row(res); sprintf(output,"INSERT INTO active (gid,uid,userid) VALUES(%s,%s,%lld)",row[1],row[2],userConnection->userInfo.uid); dbQuery(output,0); - sSendData(findNick("TUveBOT"),"MSG LOGIN:%lld"); + sSendData(findNick("TUveBOT"),"LOGIN:%s:%lld",userConnection->userInfo.username,userConnection->userInfo.uid); if (atoi(row[1]) == 1) { sprintf(output,"EMOTE:%s:STATUS:Is now an Evil Overlord!",userConnection->userInfo.username); tuveSendAllInUsersChans(userConnection,output);