зеркало из https://github.com/mozilla/pjs.git
Bug 432418 - Don't try and split lines using a server method when we don't have a server (e.g. DCC chat). ChatZilla only. r=gijs
This commit is contained in:
Родитель
84f7f01a99
Коммит
121814516d
|
@ -2174,7 +2174,7 @@ function _sendMsgTo(message, msgType, target, displayObj)
|
|||
var msg = filterOutput(message, msgType, target);
|
||||
|
||||
var o = getObjectDetails(target);
|
||||
var lines = o.server.splitLinesForSending(msg);
|
||||
var lines = o.server ? o.server.splitLinesForSending(msg) : [msg];
|
||||
|
||||
for (var i = 0; i < lines.length; i++)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче