diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-08-20 15:30:24 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-08-20 15:30:24 +0000 |
commit | 28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e (patch) | |
tree | 451579b6321bcced037215c430c63b959a412d64 /lib/class/api.class.php | |
parent | 698a737b12495d68e72b9b258b8ddc8f2c1ee7da (diff) | |
download | ampache-28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e.tar.gz ampache-28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e.tar.bz2 ampache-28fcb8f8ac8417ce8fcfad0d799d3c95d65c117e.zip |
It should not have taken me that long to find the one typo
Diffstat (limited to 'lib/class/api.class.php')
-rw-r--r-- | lib/class/api.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/class/api.class.php b/lib/class/api.class.php index 2ba94a95..418d15b7 100644 --- a/lib/class/api.class.php +++ b/lib/class/api.class.php @@ -95,6 +95,9 @@ class Api { */ public static function handshake($timestamp,$passphrase,$ip,$username='',$version) { + // Let them know we're attempting + debug_event('API',"Attempting Handshake IP:$ip User:$username Version:$version",'5'); + if (intval($version) < self::$version) { debug_event('API','Login Failed version too old','1'); Error::add('api','Login Failed version too old'); |