summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-12-04 09:27:05 +0100
committerYorhel <git@yorhel.nl>2011-12-04 09:27:05 +0100
commitd346fc5072de24300ab5edec965efa1fcab814b1 (patch)
treedd4a9d5716c3b1c8d0b7900217523e32a939f1de /lib
parentbf9b43760399c48f469717c3ca6471a2eaf274b0 (diff)
Multi::API: Fixed crash on login sequence
The users.rank column has been removed...
Diffstat (limited to 'lib')
-rw-r--r--lib/Multi/API.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index f50a19be..0311dce1 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -390,7 +390,7 @@ sub login {
if(exists $arg->{username}) {
# fetch user info
- $_[KERNEL]->post(pg => query => "SELECT rank, salt, encode(passwd, 'hex') as passwd FROM users WHERE username = ?",
+ $_[KERNEL]->post(pg => query => "SELECT salt, encode(passwd, 'hex') as passwd FROM users WHERE username = ?",
[ $arg->{username} ], 'login_res', [ $c, $arg ]);
} else {
$c->{client} = $arg->{client};