From bc39e57ba00052b181ffa93bf1c238b292c25212 Mon Sep 17 00:00:00 2001 From: "Difrex(Denis Zheleztsov)" Date: Sun, 10 Aug 2014 20:38:32 +0400 Subject: [PATCH] To me changes --- II/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/II/DB.pm b/II/DB.pm index e8743a0..7b2ad43 100644 --- a/II/DB.pm +++ b/II/DB.pm @@ -279,7 +279,7 @@ sub to_me { # print "NICK: $nick\n"; my $q - = "select from_user, to_user, subg, time, echo, post, hash from messages where to_user='$nick'"; + = "select from_user, to_user, subg, time, echo, post, hash from messages where to_user='$nick' order by time desc"; my $sth = $dbh->prepare($q); $sth->execute();