]> git.pond.sub.org Git - empserver/commit
Fix telegram notifications during read (toggle inform on)
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 21 Nov 2011 19:05:45 +0000 (20:05 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:07 +0000 (11:47 +0100)
commite8f04959506d8064baa8a31cf4d129c8c8101f32
tree23b517283b17e320c03ca3080f35f4a78f07ed48
parenta0e91cbc5ea2c85118792fb682ed6b7fd731a147
Fix telegram notifications during read (toggle inform on)

Reset number of pending telegrams before delete prompt instead of
after.

Before, the client claimed pending telegrams at that prompt, because
it wasn't C_INFORMed of the read, yet.  Worse, if more telegrams
arrived while sitting at the prompt, the reset clobbered their number
and sent a bogus clear C_INFORM message, effectively hiding the new
arrivals from the player.
src/lib/commands/rea.c