Prevent use of modnote while locked or muted

Like all other moderator commands, being locked or muted should prevent usage of modnote.
Merge pull request #1179 from Relados/patch-5

Prevent use of modnote while locked or muted