Bug 954910 - Handle NickServ messages follow up for more cases, r=aleth.

This commit is contained in:
Patrick Cloke 2012-07-21 08:43:59 -04:00
Родитель 2e96bd032f
Коммит 22292c44aa
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -114,7 +114,7 @@ var servicesBase = {
// If we have a queue of messages, we're waiting for authentication.
if (this.nickservMessageQueue) {
if (text == "Password accepted - you are now recognized." || // Anope.
text == "You are now identified for \x02" + aMessage.params[0] + "\x02.") { // Atheme.
text == "You are now identified for \x02" + aMessage.params[0] + "\x02.") { // Atheme.
// Password successfully accepted by NickServ, don't display the
// queued messages.
LOG("Successfully authenticated with NickServ.");
@ -132,6 +132,7 @@ var servicesBase = {
// NickServ wants us to identify.
if (text == "This nick is owned by someone else. Please choose another." || // Anope.
text == "This nickname is registered and protected. If it is your" || // Anope (SECURE enabled).
text == "This nickname is registered. Please choose a different nickname, or identify via \x02/msg NickServ identify <password>\x02.") { // Atheme.
LOG("Authentication requested by NickServ.");