MCPcopy Create free account
hub / github.com/NetHack/NetHack / cnf_line_MSGHANDLER

Function cnf_line_MSGHANDLER

src/cfgfiles.c:820–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818}
819
820staticfn boolean
821cnf_line_MSGHANDLER(char *bufp)
822{
823 if (sysopt.msghandler)
824 free((genericptr_t) sysopt.msghandler);
825 sysopt.msghandler = dupstr(bufp);
826 return TRUE;
827}
828
829staticfn boolean
830cnf_line_EXPLORERS(char *bufp)

Callers

nothing calls this directly

Calls 1

dupstrFunction · 0.85

Tested by

no test coverage detected