Infinite recursion fix; mod_chanmode_parse() fixes
authorMichael Poole <mdpoole@troilus.org>
Wed, 24 Mar 2004 20:32:16 +0000 (20:32 +0000)
committerMichael Poole <mdpoole@troilus.org>
Wed, 24 Mar 2004 20:32:16 +0000 (20:32 +0000)
commit43b8c191132e7eb8c94f7b2aed15cff7be51096e
tree05f5ae58cee7e24d5040c8165f769bffc3e96c94
parentb22604e348aad340152b2370ed7ded405d89aa25
Infinite recursion fix; mod_chanmode_parse() fixes

* Default lang->parent to lang_C rather than language_find("C"), so
that trying to create language "C" does not cause infinite recursion.

* Fail when we try to parse a mode with an unrecognized mode character
from users; ignore them coming from a server.
git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-32
src/helpfile.c
src/proto-bahamut.c
src/proto-p10.c