1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 09:03:29 +02:00
- Added documentation to `doAuth(string)` and `user(string.s tring, string, string)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-25 14:20:51 +02:00
parent a23636483c
commit 919e458300

View File

@ -829,6 +829,12 @@ public class Client : Thread
}
}
/**
* Performs the /NICK and /USER handshake
*
* Params:
* servername = the servername to use (default: bogus.net)
*/
private void doAuth(string servername = "bogus.net")
{
Thread.sleep(dur!("seconds")(2));
@ -840,6 +846,15 @@ public class Client : Thread
user(connInfo.username, connInfo.username, servername, connInfo.realname);
}
/**
* Performs user identification
*
* Params:
* username = the username to identify with
* hostname = the hostname to use
* servername = the servername to use
* realname = your realname
*/
public void user(string username, string hostname, string servername, string realname)
{
// TODO: Implement me properly with all required checks