From: jluehrs2 Date: Sun, 2 Sep 2007 22:42:10 +0000 (-0500) Subject: document message module X-Git-Tag: 0.03~75 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=86181fed18da97e22425ee087320a044a56baaf5;p=luairc.git document message module --- 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)