Commit Diff
Diff:
e8c359cdf86ae03638ab2ed21e024f71bb61dbbd
1be8bfb4b11b0489deae404d58958e2bb05a9c62
Commit:
1be8bfb4b11b0489deae404d58958e2bb05a9c62
Tree:
4832288e953a96c92d3623b7645a7679c3973222
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Wed Nov 25 13:50:11 2020 UTC
Message:
Fix bug
blob - 4a785baf654fd22f7014dfb7b88ea23822ecc6da
blob + a18ae11e216ff367f6576dadc984b496fc5fdf50
--- Shell.pm
+++ Shell.pm
@@ -80,7 +80,7 @@ sub mshell {
return;
}
### TODO: Check duplicate emails ###
- my @rows = SQLite::selectrows("irc", "hostmask", $hostmask);
+ my @rows = SQLite::selectrows("irc", "nick", $nick);
foreach my $row (@rows) {
my $password = SQLite::get("shell", "ircid", $row->{id}, "password");
if (defined($password)) {