From 9e88b3b422781630a18c13e40cda1c5ea7c111e8 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 17 Aug 2019 18:13:59 -0400 Subject: ignore login-defined gender (unused on evol) and treat it as non-binary --- src/echar/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/echar/init.c') diff --git a/src/echar/init.c b/src/echar/init.c index e273b58..1c0ba48 100644 --- a/src/echar/init.c +++ b/src/echar/init.c @@ -66,6 +66,9 @@ HPExport void plugin_init (void) addHookPre(chr, parse_char_connect, echar_parse_char_connect_pre); addHookPre(chr, send_HC_ACK_CHARINFO_PER_PAGE_tail, echar_send_HC_ACK_CHARINFO_PER_PAGE_tail_pre); + // non-binary gender stuff: + addHookPre(chr, mmo_gender, echar_mmo_gender); + addHookPost(chr, send_HC_ACK_CHARINFO_PER_PAGE, echar_send_HC_ACK_CHARINFO_PER_PAGE_post); addHookPost(chr, mmo_char_send_characters, echar_mmo_char_send_characters_post); addHookPost(chr, parse_char_connect, echar_parse_char_connect_post); -- cgit v1.2.3-70-g09d2