summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorJoe Robinson <joe@grabyo.com>2016-10-14 18:17:34 +0100
committerJoe Robinson <joe@grabyo.com>2016-10-14 18:17:34 +0100
commit855db48bbba753508d68b7d91ec858855e003c9c (patch)
tree137e947aca4ae99cc9eb735874270691bd2a11de /index.js
parentc797f12928e65722beea1265d0383fb10db010f3 (diff)
Implement topic function
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
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) {