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:
parent
1e51b33195
commit
7031d6f538
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user