In vivo production of a potassium channel inhibitor for immunomodulation