1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 11:13:13 +02:00
This commit is contained in:
Adam
2010-10-24 12:56:20 -04:00
parent ec5fa9e63e
commit bd7b6b16ec
12 changed files with 53 additions and 17 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class MemoListCallback : public NumberList
void HandleNumber(unsigned Number)
{
if (Number > mi->memos.size())
if (!Number || Number > mi->memos.size())
return;
MemoListCallback::DoRead(u, mi, NULL, Number - 1);