Browse files

Got rid of to_array as well

  • Loading branch information...
1 parent 70c099e commit 5df705e70fad272b8d98dec0c4453770c7f5c36b @sent1nel committed Jun 27, 2012
Showing with 0 additions and 13 deletions.
  1. +0 −1 index.js
  2. +0 −12 lib/to_array.js
View
1 index.js
@@ -1,7 +1,6 @@
var net = require("net"),
events = require("events"),
util = require("util"),
- to_array = require("./lib/to_array"),
CHANNEL_PREFIXES = [ '#', '&', '!', '+' ],
default_port = "6667",
default_host = "irc.freenode.net";
View
12 lib/to_array.js
@@ -1,12 +0,0 @@
-function to_array(args) {
- var len = args.length,
- arr = new Array(len), i;
-
- for (i = 0; i < len; i += 1) {
- arr[i] = args[i];
- }
-
- return arr;
-}
-
-module.exports = to_array;

0 comments on commit 5df705e

Please sign in to comment.