znc/znc — pull request #95 by leedo (2011-12-08 01:13:08+00:00)
Title: Send 422 event if MOTD buffer is empty

Some clients (stupidly) rely on the 376 or 422 to know they are registered. Right now, if ZNC has an empty MOTD buffer neither of these are sent. This patch sends 422 in that case.