@var{from} is the user's address in the form @samp{nick!user@@host}.
@end defun
+@defun hooks/dcc/chat-end address
+This hook is called when a DCC CHAT is purged after being idle for a
+while, or when the user closes the DCC CHAT. As such, you cannot write
+any more data to the DCC CHAT.
+
+@var{address} is the address (nick!user@@host) of the person on the
+other side of the DCC.
+@end defun
+
@defun hooks/dcc/chat-message from message
This hook is called when a user sends a message to the bot through
a DCC CHAT.