chiark / gitweb /
admin: Option parser macros.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 1 Jan 2007 12:52:32 +0000 (12:52 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 1 Jan 2007 12:52:32 +0000 (12:52 +0000)
commite7a4d919c7949baff584b17fe604f1a9973cf00f
treec848332a33633e5aa9e4bb262f4295a0c6b0bb46
parent9986f0b5b268750fdc4cb29413c8545f60d3382e
admin: Option parser macros.

There's too much clone and hack in options parsing.  Cover up the
repeated code with macros.

Also, sneak in a little fix: complain if there are too many arguments to
a PING or EPING command.
server/admin.c