зеркало из https://github.com/mozilla/pjs.git
Minor tweak so as to ensure changes to the nick variables are always saved. Shouldn't fix anything anyone was seeing.
This commit is contained in:
Родитель
169ba19b7e
Коммит
4fe0a7d6b0
|
@ -553,12 +553,11 @@ sub on_nick_taken {
|
||||||
@nicks = (@nicks[0..$nickFirstTried], $new, @nicks[$nickFirstTried+1..$#nicks]);
|
@nicks = (@nicks[0..$nickFirstTried], $new, @nicks[$nickFirstTried+1..$#nicks]);
|
||||||
$nick += 1; # try the new nick now
|
$nick += 1; # try the new nick now
|
||||||
$nickFirstTried = $nick;
|
$nickFirstTried = $nick;
|
||||||
&debug("saving nicks: @nicks");
|
|
||||||
&Configuration::Save($cfgfile, &configStructure(\@nicks));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&debug("now going to try nick '$nicks[$nick]'");
|
&debug("now going to try nick '$nicks[$nick]'");
|
||||||
|
&Configuration::Save($cfgfile, &configStructure(\$nick, \@nicks));
|
||||||
$self->nick($nicks[$nick]);
|
$self->nick($nicks[$nick]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче