mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
fix handling of empty admin command lines
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
7a71012589
commit
d875e0c1c0
2 files changed
+10
-7
No files matched your search
@@ -138,7 +138,7 @@ impl Console {
|
||||
|
||||
#[allow(clippy::let_underscore_must_use)]
|
||||
async fn handle(self: Arc<Self>, line: String) {
|
||||
if line.is_empty() {
|
||||
if line.trim().is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user