Changeset 17a58df for storage_xml.c


Ignore:
Timestamp:
2017-04-17T00:11:48Z (8 years ago)
Author:
Fangrui Song <i@…>
Branches:
master
Children:
eb73d05
Parents:
55bc71e
git-author:
Fangrui Song <i@…> (17-04-17 00:04:25)
git-committer:
Fangrui Song <i@…> (17-04-17 00:11:48)
Message:

Move handle_settings before xt_handle.

utf8_nicks should be enabled before handling nick fields in <setting> because nick_strip uses IRC_UTF8_NICKS which is only available after calling handle_settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    r55bc71e r17a58df  
    294294        }
    295295
     296        handle_settings(node, &xd->irc->b->set);
     297
    296298        if (xt_handle(xp, NULL, 1) == XT_HANDLED) {
    297299                ret = STORAGE_OK;
    298300        }
    299 
    300         handle_settings(node, &xd->irc->b->set);
    301301
    302302error:
Note: See TracChangeset for help on using the changeset viewer.