mirror of
https://github.com/anope/anope.git
synced 2026-07-03 11:13:13 +02:00
Fixed bug #1200
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user