mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-22 13:46:20 +08:00
Fixed sessionExpired event always being emitted for confirmation errors
This commit is contained in:
parent
d8d99a804f
commit
aac26212d7
@ -18,10 +18,10 @@ SteamCommunity.prototype.getConfirmations = function(time, key, callback) {
|
||||
if(err) {
|
||||
if (err.message == "Invalid protocol: steammobile:") {
|
||||
err.message = "Not Logged In";
|
||||
self._notifySessionExpired(err);
|
||||
}
|
||||
|
||||
callback(err);
|
||||
self._notifySessionExpired(err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user