change 'nick' varible to 'server'