mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Fixed: command requires an authenticated connection
This commit is contained in:
parent
c031db0ca2
commit
736304ed94
@ -165,15 +165,15 @@ public class DConnection : Thread
|
|||||||
/* If `link` command (requires: unauthed) */
|
/* If `link` command (requires: unauthed) */
|
||||||
else if(commandByte == 1 && !hasAuthed)
|
else if(commandByte == 1 && !hasAuthed)
|
||||||
{
|
{
|
||||||
|
/* TODO: Implement me later */
|
||||||
}
|
}
|
||||||
/* */
|
/* If `register` command (requires: unauthed) */
|
||||||
else if(commandByte == 2 && !hasAuthed)
|
else if(commandByte == 2 && !hasAuthed)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
/* If `join` command (requires: authed) */
|
/* If `join` command (requires: authed) */
|
||||||
else if(commandByte == 3 && !hasAuthed)
|
else if(commandByte == 3 && hasAuthed)
|
||||||
{
|
{
|
||||||
/* Get the channel names */
|
/* Get the channel names */
|
||||||
string channelList = cast(string)message.data[1..message.data.length];
|
string channelList = cast(string)message.data[1..message.data.length];
|
||||||
|
Loading…
Reference in New Issue
Block a user