diff --git a/exec/login.js b/exec/login.js
index 4afffb21a7a550b0dcac23f4400ce44d445206a6..5c34a9024748ede3248fb6a9865fa873b6020794 100644
--- a/exec/login.js
+++ b/exec/login.js
@@ -24,7 +24,7 @@ var guest = options.guest && system.matchuser("guest");
 
 if(!bbs.online)
 	exit();
-if(!console.autoterm) {
+if(!(console.autoterm&(USER_ANSI | USER_PETSCII | USER_UTF8))) {
 	console.inactivity_hangup = options.inactive_hangup;
 	log(LOG_NOTICE, "terminal not detected, reducing inactivity hang-up timeout to " + console.inactivity_hangup + " seconds");
 }