diff --git a/src/sbbs3/atcodes.cpp b/src/sbbs3/atcodes.cpp
index 24bee8c1f331a8fec4639707eeb9aebe6710bbc0..cf0c7c8b4ff077597ef26f3e9e8a0c4e738f849b 100644
--- a/src/sbbs3/atcodes.cpp
+++ b/src/sbbs3/atcodes.cpp
@@ -148,7 +148,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
 			outchar(codepoint, unicode_to_cp437(codepoint));
 		else {
 			char fallback = (char)strtoul(tp + 1, NULL, 16);
-			if(*tp == '|')
+			if(*tp == '/')
 				outchar(codepoint, fallback);
 			else if(*tp == '!') {
 				char ch = unicode_to_cp437(codepoint);