mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 17:53:39 +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,
|
MOTD,
|
||||||
MEMBER_INFO,
|
MEMBER_INFO,
|
||||||
STATUS,
|
STATUS,
|
||||||
|
CHAN_PROP,
|
||||||
|
SET_PROP,
|
||||||
UNKNOWN
|
UNKNOWN
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,7 +127,6 @@ public class DConnection : Thread
|
|||||||
*
|
*
|
||||||
* (Does decoding for bformat too)
|
* (Does decoding for bformat too)
|
||||||
*/
|
*/
|
||||||
writeln("waiting");
|
|
||||||
bool status = receiveMessage(socket, receivedBytes);
|
bool status = receiveMessage(socket, receivedBytes);
|
||||||
|
|
||||||
/* TODO: Check status */
|
/* TODO: Check status */
|
||||||
@ -274,8 +275,6 @@ public class DConnection : Thread
|
|||||||
command = Command.STATUS;
|
command = Command.STATUS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return command;
|
return command;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user