From 855db48bbba753508d68b7d91ec858855e003c9c Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Fri, 14 Oct 2016 18:17:34 +0100 Subject: Implement topic function --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.js') diff --git a/index.js b/index.js index ca6857d..7b11a23 100644 --- a/index.js +++ b/index.js @@ -174,7 +174,7 @@ function sendPm(message, nick) { } function setTopic(channel, topic) { - client.send("TOPIC", channel, topic); + client.raw("TOPIC", channel, topic); } function joinChannel(channel, sendJoin) { -- cgit v1.2.3