24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

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

View File

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