Fix misnamed variable in setChannelTopic (#403)

This commit is contained in:
Meishu
2016-06-03 18:31:34 -07:00
committed by abal
parent 2ac679c169
commit 2bd7d9dc24
2 changed files with 2 additions and 2 deletions

View File

@@ -1512,7 +1512,7 @@ var InternalClient = (function () {
//def setChannelTopic
InternalClient.prototype.setChannelTopic = function setChannelTopic(chann) {
InternalClient.prototype.setChannelTopic = function setChannelTopic(channel) {
var topic = arguments.length <= 1 || arguments[1] === undefined ? "" : arguments[1];
topic = topic || "";