Added support for IRC MOTD command

This commit is contained in:
Justin 2015-08-07 17:49:11 -07:00
parent 2ef0464d1d
commit 2d48faa5c4

View File

@ -672,3 +672,9 @@ func NamesHandler(message *irc.Message, client *Client) {
} }
} }
} }
// MOTDHandler is a specialized CommandHandler to respond to channel IRC MOTD commands from a client
// Implemented according to RFC 1459 Section 8.5 and RFC 2812 Section 3.4.1
func MOTDHandler(message *irc.Message, client *Client) {
client.MOTD()
}