mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Merge error and fatal
This commit is contained in:
parent
e857eb1b47
commit
9ebb95c69d
7 changed files with 17 additions and 20 deletions
|
|
@ -12,7 +12,7 @@ module.exports = require('./protocols/core').extend({
|
|||
uri: 'http://mutantfactions.net/game/receiveLobby.php',
|
||||
timeout: 3000,
|
||||
}, function(e,r,body) {
|
||||
if(e) return self.error('Lobby request error');
|
||||
if(e) return self.fatal('Lobby request error');
|
||||
|
||||
var split = body.split('<br/>');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue