From 3f414aec63257f7e9e6aa19671502794f9c1d524 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 11 Jul 2012 16:54:18 -0700 Subject: get rid of special "short salmon key" for statusnet --- mod/modexp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/modexp.php') diff --git a/mod/modexp.php b/mod/modexp.php index bba2c2882..a869fc1f9 100644 --- a/mod/modexp.php +++ b/mod/modexp.php @@ -8,14 +8,14 @@ function modexp_init(&$a) { killme(); $nick = $a->argv[1]; - $r = q("SELECT `spubkey` FROM `user` WHERE `nickname` = '%s' LIMIT 1", + $r = q("SELECT `pubkey` FROM `user` WHERE `nickname` = '%s' LIMIT 1", dbesc($nick) ); if(! count($r)) killme(); - $lines = explode("\n",$r[0]['spubkey']); + $lines = explode("\n",$r[0]['pubkey']); unset($lines[0]); unset($lines[count($lines)]); $x = base64_decode(implode('',$lines)); -- cgit v1.2.3