1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 02:46:39 +02:00

Fix ms list crash

This commit is contained in:
Adam
2013-09-23 13:05:50 -04:00
parent 832bc35135
commit 5cc7fc0387
+1 -1
View File
@@ -80,7 +80,7 @@ class CommandMSList : public Command
if (!number || number > mi->memos->size())
return;
const Memo *m = mi->GetMemo(number);
const Memo *m = mi->GetMemo(number - 1);
ListFormatter::ListEntry entry;
entry["Number"] = (m->unread ? "* " : " ") + stringify(number + 1);