weechat-protocol.js: fix hash table parsing

This commit is contained in:
Philippe Proulx 2013-10-05 19:28:54 -04:00
parent 187f22036b
commit bd4bfe0cb3

View file

@ -315,7 +315,7 @@ WeeChatProtocol.prototype = {
for (var i = 0; i < count; ++i) { for (var i = 0; i < count; ++i) {
var key = self._runType(typeKeys); var key = self._runType(typeKeys);
var keyStr = self._objToString(key, typeKeys); var keyStr = self._objToString(key, typeKeys);
var value = self.runType(typeValues); var value = self._runType(typeValues);
dict[keyStr] = value; dict[keyStr] = value;
} }