CPI(M) general secretary Sitaram Yechury has written to the Election Commission against Prime Minister Narendra Modi for allegedly violating the poll code by sharing operational details of a “sensitive” defence mission in a television interview to influence voters.