mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-21 14:06:57 +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,
|
||||
ip,
|
||||
aux_fields = [],
|
||||
lang}).
|
||||
lang = <<"">>}).
|
||||
|
||||
%-define(DBGFSM, true).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user