зеркало из https://github.com/mozilla/gecko-dev.git
-- chatzilla changes only --
fix problem where chatzilla responds (to the channel) with an error, when someone says the word "undefined" r=blizzard
This commit is contained in:
Родитель
c89077a98d
Коммит
325cb20c5b
|
@ -1735,7 +1735,8 @@ function my_cprivmsg (e)
|
|||
|
||||
e.user.display (e.meat, "PRIVMSG");
|
||||
|
||||
if (e.meat.indexOf (client.prefix) == 0)
|
||||
if ((typeof client.prefix == "string") &&
|
||||
e.meat.indexOf (client.prefix) == 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче