aboutsummaryrefslogtreecommitdiff
path: root/lib/cli/cli.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cli/cli.ex')
-rw-r--r--lib/cli/cli.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cli/cli.ex b/lib/cli/cli.ex
index 4643351..28ef5d0 100644
--- a/lib/cli/cli.ex
+++ b/lib/cli/cli.ex
@@ -17,7 +17,7 @@ defmodule SCLI do
def handle_command(["connect", ipstr, portstr]) do
{:ok, ip} = :inet.parse_address (to_charlist ipstr)
{port, _} = Integer.parse portstr
- SNet.TCPServer.add_peer(ip, port)
+ SNet.Manager.add_peer(ip, port)
end
def handle_command(["nick", nick]) do