1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-06-28 14:16:07 +02:00

Interpret format codes passed to meta:send() literally if there are no format arguments

This commit is contained in:
ShadowNinja
2013-06-17 11:38:13 -04:00
parent 1d0480adba
commit ddb788883e
3 changed files with 10 additions and 6 deletions

View File

@ -71,9 +71,9 @@ function irc:whois(nick)
function irc:topic(channel)
--- Send a raw line of IRC to the server.
-- @param fmt Line to be sent, excluding newline characters.
-- @param ... Format parameters for <code>fmt</code>, with <code>string.format</code> semantics.
function irc:send(fmt, ...)
-- @param msg Line to be sent, excluding newline characters.
-- @param ... Format parameters for <code>msg</code>, with <code>string.format</code> semantics. [optional]
function irc:send(msg, ...)
--- Send a message to a channel or user.
-- @param target Nick or channel to send to.