fix problem where chatzilla responds (to the channel) with an error, when someone says the word "undefined"
r=blizzard
This commit is contained in:
rginda%netscape.com 2001-01-09 22:57:45 +00:00
Родитель c89077a98d
Коммит 325cb20c5b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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
{