Avoid #state.lang type errors in corner cases

If #state.lang is used before being initialized to some binary string,
the translation code would crash.
This commit is contained in:
Holger Weiss 2014-04-29 11:41:24 +02:00
parent 6d1055abec
commit bb2c8b59f8
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
auth_module = unknown,
ip,
aux_fields = [],
lang}).
lang = <<"">>}).
%-define(DBGFSM, true).