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:
parent
6d1055abec
commit
bb2c8b59f8
|
@ -107,7 +107,7 @@
|
||||||
auth_module = unknown,
|
auth_module = unknown,
|
||||||
ip,
|
ip,
|
||||||
aux_fields = [],
|
aux_fields = [],
|
||||||
lang}).
|
lang = <<"">>}).
|
||||||
|
|
||||||
%-define(DBGFSM, true).
|
%-define(DBGFSM, true).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user