]> git.lizzy.rs Git - luairc.git/commitdiff
and irc.lua is done
authorjluehrs2 <jluehrs2@uiuc.edu>
Tue, 4 Sep 2007 05:32:56 +0000 (00:32 -0500)
committerjluehrs2 <jluehrs2@uiuc.edu>
Tue, 4 Sep 2007 05:32:56 +0000 (00:32 -0500)
src/irc.lua

index 8e30abe3f10e7e15e3c56eb59a30b2c40b94125a..12b5408654a3f0d6b253c2a3aee1f07a494b2962 100644 (file)
@@ -914,17 +914,17 @@ function send(command, ...)
         if base.type(v) == "string" then
             arg = v
         elseif base.type(v) == "table" then
-            arg = ctcp.ctcp_quote(table.concat(v, " "))
+            arg = ctcp._ctcp_quote(table.concat(v, " "))
         end
         if i == #{...} then
             arg = ":" .. arg
         end
         message = message .. " " .. arg
     end
-    message = ctcp.low_quote(message)
+    message = ctcp._low_quote(message)
     -- we just truncate for now. -2 to account for the \r\n
     message = message:sub(1, constants.IRC_MAX_MSG - 2)
-    irc_debug.message("SEND", message)
+    irc_debug._message("SEND", message)
     irc_sock:send(message .. "\r\n")
 end
 -- }}}
@@ -957,10 +957,10 @@ end
 -- @see irc.channel
 function channels()
     return function(state, arg)
-               return misc.value_iter(state, arg,
-                                      function(v)
-                                          return v.join_complete
-                                      end)
+               return misc._value_iter(state, arg,
+                                       function(v)
+                                           return v.join_complete
+                                       end)
            end,
            serverinfo.channels,
            nil