Skip to content
Extraits de code Groupes Projets
Valider 68f06c43 rédigé par ElTata's avatar ElTata :ok_hand:
Parcourir les fichiers

updated changelog

parent c5f4e1a9
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -13,6 +13,13 @@ Thanks for your interest in the Idle RPG! Feel free to contact me with ideas and ...@@ -13,6 +13,13 @@ Thanks for your interest in the Idle RPG! Feel free to contact me with ideas and
comments, or post them in the issues of the project for public view. comments, or post them in the issues of the project for public view.
--
## v5.2.0: released 10/22/19
- new feature : people who are nickserv-identified are automatically logged in
with their last played character
- this happens on startup of the bot, and every time a user joins
-- --
## v5.1.0: released 10/22/19 ## v5.1.0: released 10/22/19
......
...@@ -511,11 +511,8 @@ sub parse { ...@@ -511,11 +511,8 @@ sub parse {
# to login # to login
$onchan{$arg[7]}=time() if ($opts->{botchan} eq $arg[3]); $onchan{$arg[7]}=time() if ($opts->{botchan} eq $arg[3]);
if (exists($prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]})) { if (exists($prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]})) {
$rps->{$prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]}}{online} = 1; $rps->{$prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]}}{online} = 1;
$auto_login{$prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]}}=1; $auto_login{$prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]}}=1;
} }
elsif (grep { $rps->{$_}{nick} eq $arg[7] } keys %$rps) { elsif (grep { $rps->{$_}{nick} eq $arg[7] } keys %$rps) {
Irpg::Irc::sts("WHOIS $arg[7]"); Irpg::Irc::sts("WHOIS $arg[7]");
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter