Update QuoteCommands.cs

This commit is contained in:
Shikhir Arora 2017-04-02 15:57:56 -04:00 committed by GitHub
parent c214eb0faf
commit 43d8f1997a

View File

@ -105,7 +105,7 @@ namespace NadekoBot.Modules.Utility
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
public async Task QuoteId(int id) public async Task QuoteId(int id)
{ {
if (id < 0 || id > Int32.MaxValue) if (id < 0)
return; return;
using (var uow = DbHandler.UnitOfWork()) using (var uow = DbHandler.UnitOfWork())