3 Commits

Author SHA1 Message Date
James Mills
8103b281f7 Fixed send on closed channel bug 2017-11-26 13:20:09 -08:00
James Mills
20be29bcef Fixed bug with RPL_ENDOFWHOIS (/WHOIS) response missing nick component (#27) 2017-11-26 10:42:14 -08:00
James Mills
34c3be0a88 Update README.md 2017-11-26 10:10:18 -08:00
3 changed files with 12 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ $ docker stack deploy -c docker-compose.yml eris
Which assumes a `ircd.yml` coniguration file in the current directory which Docker will use to distribute as the configuration. The `docker-compose.yml` (*Docker Stackfile*) is available at the root of this repository.
## Related Proejcts
## Related Projects
There are a number of supported accompanying services that are being developed alongside Eris:

View File

@@ -235,6 +235,7 @@ func (client *Client) destroy() {
}
close(client.replies)
client.replies = nil
client.socket.Close()
@@ -351,7 +352,9 @@ func (client *Client) ChangeNickname(nickname Name) {
}
func (client *Client) Reply(reply string) {
client.replies <- reply
if client.replies != nil {
client.replies <- reply
}
}
func (client *Client) Quit(message Text) {

View File

@@ -260,7 +260,7 @@ func (target *Client) RplWhois(client *Client) {
}
target.RplWhoisServer(client)
target.RplWhoisLoggedIn(client)
target.RplEndOfWhois()
target.RplEndOfWhois(client)
}
func (target *Client) RplWhoisUser(client *Client) {
@@ -324,9 +324,12 @@ func (target *Client) RplWhoisServer(client *Client) {
)
}
func (target *Client) RplEndOfWhois() {
target.NumericReply(RPL_ENDOFWHOIS,
":End of WHOIS list")
func (target *Client) RplEndOfWhois(client *Client) {
target.NumericReply(
RPL_ENDOFWHOIS,
"%s :End of WHOIS list",
client.Nick(),
)
}
func (target *Client) RplChannelModeIs(channel *Channel) {