mirror of
https://github.com/deavminet/dnetd.git
synced 2025-02-20 06:27:05 +00: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) */
|
||||
else if(commandByte == 1 && !hasAuthed)
|
||||
{
|
||||
|
||||
/* TODO: Implement me later */
|
||||
}
|
||||
/* */
|
||||
/* If `register` command (requires: unauthed) */
|
||||
else if(commandByte == 2 && !hasAuthed)
|
||||
{
|
||||
|
||||
}
|
||||
/* If `join` command (requires: authed) */
|
||||
else if(commandByte == 3 && !hasAuthed)
|
||||
else if(commandByte == 3 && hasAuthed)
|
||||
{
|
||||
/* Get the channel names */
|
||||
string channelList = cast(string)message.data[1..message.data.length];
|
||||
|
Loading…
Reference in New Issue
Block a user