From ce7fef4404a79bbddd8b60830cfa6f071c9bfd96 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Fri, 3 Jul 2020 03:29:49 +0100 Subject: [PATCH] Adds info messages to FetchNextNotecard command (Used by streamadmin) --- Core/Commands/StreamAdmin/FetchNextNotecard.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Commands/StreamAdmin/FetchNextNotecard.cs b/Core/Commands/StreamAdmin/FetchNextNotecard.cs index db50231..e9cc733 100644 --- a/Core/Commands/StreamAdmin/FetchNextNotecard.cs +++ b/Core/Commands/StreamAdmin/FetchNextNotecard.cs @@ -35,7 +35,7 @@ namespace BSB.Commands.StreamAdmin } else { - Failed("Notecard title is to short"); + return Failed("Notecard title is to short"); } } return Failed(server_reply.message); @@ -50,7 +50,7 @@ namespace BSB.Commands.StreamAdmin return Failed("HTTP error DataObject broken Status:"+ endpoint_checks.StatusCode.ToString()+" @ "+ attempt_endpoint+""); } } - return false; + return Failed("incorrect number of args"); } }