summaryrefslogtreecommitdiff
path: root/modules/commands/ms_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_list.cpp')
-rw-r--r--modules/commands/ms_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_list.cpp b/modules/commands/ms_list.cpp
index c0c69eb4f..1671c5c08 100644
--- a/modules/commands/ms_list.cpp
+++ b/modules/commands/ms_list.cpp
@@ -83,7 +83,7 @@ class CommandMSList : public Command
const Memo *m = mi->GetMemo(number - 1);
ListFormatter::ListEntry entry;
- entry["Number"] = (m->unread ? "* " : " ") + stringify(number + 1);
+ entry["Number"] = (m->unread ? "* " : " ") + stringify(number);
entry["Sender"] = m->sender;
entry["Date/Time"] = Anope::strftime(m->time, source.GetAccount());
this->list.AddEntry(entry);