Refactor: Simplify parsing logic
authorDenis Kenzior <denkenz@gmail.com>
Thu, 25 Mar 2010 00:40:59 +0000 (19:40 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 25 Mar 2010 00:41:19 +0000 (19:41 -0500)
commit9ed01bfecdfd9c213d1de6d30755f14f948acb38
treeda6174e27b7325cc2b09b3c47e717ddd40ab15c7
parenta9c089ab345f06435c08ed87c86affb1c953ce71
Refactor: Simplify parsing logic

It isn't actually necessary to check the basic command prefixes, if the
extended prefix doesn't match we try to parse it like a basic command.
That one does the same exact check anyway.  If that fails, then this is
not a recognized command line anyway.
gatchat/gatserver.c