Fixed loop on twitkill/showdeleted no

This commit is contained in:
Alexander S. Aganichev
2002-07-08 13:21:03 +00:00
parent a1717dc3de
commit 5bbcdba9f2
2 changed files with 8 additions and 2 deletions

View File

@@ -386,8 +386,11 @@ void Reader() {
switch(istwit) {
case TWIT_KILL:
TwitDeleteMsg(msg);
continue;
if(not msg->attr.del()) {
// prevent infinite loop on the last message
TwitDeleteMsg(msg);
continue;
}
case TWIT_SKIP:
reader_keycode = ReaderGetKey();
break;