diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-04 15:50:48 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-04 15:50:48 -0500 |
commit | d635fdec2b527573da6400cc718d0a6b9c5e2e8a (patch) | |
tree | 30b45c94c6daa406607cbf67da68f8d0bfdd91b9 | |
parent | ef669442a07173bb281d8fa4ad68a87edd0612c3 (diff) | |
download | luairc-d635fdec2b527573da6400cc718d0a6b9c5e2e8a.tar.gz luairc-d635fdec2b527573da6400cc718d0a6b9c5e2e8a.zip |
follow the rfc more closely for ERRMSG responses
-rw-r--r-- | src/irc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc.lua b/src/irc.lua index 25b9b46..33ba888 100644 --- a/src/irc.lua +++ b/src/irc.lua @@ -241,7 +241,7 @@ function handlers.on_privmsg(from, to, msg) if base.type(ctcp_handlers[cb]) == "function" then ctcp_handlers[cb](from, to, table.concat(words, " ")) else - notice(from, c("ERRMSG", "Unknown query: " .. received_command)) + notice(from, c("ERRMSG", received_command, ":Unknown query")) end -- }}} else @@ -525,7 +525,7 @@ end -- on_errmsg {{{ function ctcp_handlers.on_errmsg(from, to, message) - notice(from, c("ERRMSG", message .. "No error has occurred")) + notice(from, c("ERRMSG", message, ":No error has occurred")) end -- }}} |