From 68f06c436fa3fd4d5de271b9c3bb2f5b38c0c574 Mon Sep 17 00:00:00 2001 From: ElTata <eltata@firemail.cc> Date: Tue, 22 Oct 2019 19:09:26 +0200 Subject: [PATCH] updated changelog --- CHANGELOG.md | 7 +++++++ Irpg/Main.pm | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 894e38e..92a8317 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. +-- +## 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 diff --git a/Irpg/Main.pm b/Irpg/Main.pm index 4659e70..d94a92f 100644 --- a/Irpg/Main.pm +++ b/Irpg/Main.pm @@ -511,11 +511,8 @@ sub parse { # to login $onchan{$arg[7]}=time() if ($opts->{botchan} eq $arg[3]); if (exists($prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]})) { - $rps->{$prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]}}{online} = 1; - $auto_login{$prev_online->{$arg[7]."!".$arg[4]."\@".$arg[5]}}=1; - } elsif (grep { $rps->{$_}{nick} eq $arg[7] } keys %$rps) { Irpg::Irc::sts("WHOIS $arg[7]"); -- GitLab