1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 09:43:37 +02:00

Cleaned up, added new command enums

This commit is contained in:
Tristan B. Kildaire 2020-10-15 11:26:57 +02:00
parent 1e51b33195
commit 7031d6f538

View File

@ -46,6 +46,8 @@ public class DConnection : Thread
MOTD,
MEMBER_INFO,
STATUS,
CHAN_PROP,
SET_PROP,
UNKNOWN
}
@ -125,7 +127,6 @@ public class DConnection : Thread
*
* (Does decoding for bformat too)
*/
writeln("waiting");
bool status = receiveMessage(socket, receivedBytes);
/* TODO: Check status */
@ -274,8 +275,6 @@ public class DConnection : Thread
command = Command.STATUS;
}
return command;
}