From 86181fed18da97e22425ee087320a044a56baaf5 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Sun, 2 Sep 2007 17:42:10 -0500 Subject: document message module --- src/irc/message.lua | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/irc/message.lua b/src/irc/message.lua index 27698d8..d6f5837 100644 --- a/src/irc/message.lua +++ b/src/irc/message.lua @@ -1,3 +1,5 @@ +--- +-- Implementation of IRC server message parsing -- initialization {{{ local base = _G local constants = require 'irc.constants' @@ -9,10 +11,27 @@ local string = require 'string' local table = require 'table' -- }}} +--- +-- This module contains parsing functions for IRC server messages. module 'irc.message' -- local functions {{{ --- parse() - parse a server command {{{ +-- parse {{{ +-- +-- Parse a server command. +-- @param str Command to parse +-- @return Table containing the parsed message. It contains: +-- function parse(str) -- low-level ctcp quoting {{{ str = ctcp.low_dequote(str) -- cgit v1.2.3-54-g00ecf