Compare commits

..

No commits in common. "7880294c6f9589bcad2da618945e786e7d42c35a" and "d20700ca7411cc9a9eaf88f40d92c56ec8d3551c" have entirely different histories.

3 changed files with 1 additions and 4 deletions

View File

@ -154,8 +154,7 @@ func (h *Handlers) SetLanguage(ctx context.Context, sym string, input []byte) (r
code := strings.Split(symbol, "_")[1]
if !utils.IsValidISO639(code) {
//Fallback to english instead?
code = "eng"
return res, nil
}
res.FlagSet = append(res.FlagSet, state.FLAG_LANG)
res.Content = code

View File

@ -1,4 +1,3 @@
LOAD set_language 6
RELOAD set_language
CATCH terms flag_account_created 0
MOVE language_changed

View File

@ -1,4 +1,3 @@
LOAD set_language 6
RELOAD set_language
CATCH terms flag_account_created 0
MOVE language_changed