From 2c6641d88cd88129bf3403a2f9c1228624cadb0c Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Fri, 25 Sep 2020 19:33:37 +0200 Subject: [PATCH] Cleanup --- source/dnetd/dconnection.d | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/dnetd/dconnection.d b/source/dnetd/dconnection.d index 25ee8e6..3d52b89 100644 --- a/source/dnetd/dconnection.d +++ b/source/dnetd/dconnection.d @@ -422,18 +422,21 @@ public class DConnection : Thread /* TODO: Implement me, use return value */ // writeSocket(tag, reply); } - /* TODO: Handle this case */ + /* If no matching built-in command was found */ else { /* TODO: Check plugins */ bool isPlugin = false; + /* A matching plugin was found */ if(isPlugin) { - + /* TODO: Implement me */ } + /* The command was invalid */ else { + /* Write error message */ byte[] reply = [2]; writeSocket(tag, reply); }