---
-- This module holds various constants used by the IRC protocol.
-module "irc.constants"
+local constants = {}
-- protocol constants {{{
-IRC_MAX_MSG = 512
+constants.IRC_MAX_MSG = 512
-- }}}
-- server replies {{{
-replies = {
+constants.replies = {
-- Command responses {{{
[001] = "RPL_WELCOME",
[002] = "RPL_YOURHOST",
-- }}}
-- chanmodes {{{
-chanmodes = {
+constants.chanmodes = {
["@"] = "secret",
["*"] = "private",
["="] = "public"
}
-- }}}
+
+return constants