Kilford uses not $E_2$ but something he calls $E_{2, 2}$, which is $$E_{2}(z) - 2E_2(2z) = 1 - 24 \sum_{n \text{ odd}} \sigma_{1}(n) q^n.$$ This is a modular form of weight 2 and level $\Gamma_0(2)$. Similarly $E_{p, 2} = E_2(z) - p E_2(pz)$ is modular of level $\Gamma_0(N)$ for any $N$.

The naive Eisenstein series $$E_{2}(z) = 1 - 24 \sum_{n \in \mathbb{N}} \sigma_{1}(n) q^n$$ is not a modular form of any level -- this follows from the fact that $E_2(-1/z) - z^2 E_2(z)$ is something like $6/\pi \mathrm{Im}(z)$, while for a modular form it would have to be holomorphic.