aboutsummaryrefslogtreecommitdiffstats
path: root/src/irc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.lua')
-rw-r--r--src/irc.lua4
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
-- }}}