enumerated types for irc.c
The irc section gets an enumerated type for constant values.
This makes the code more readable and less error prone.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
#
# Project : mcbot
#
Known Bugs:
* PRIVMSG for n=some@unaffiliated/users
* strdup must be freed: DONE
* the bot must be registered to use op commands
-> works best on irc.freenode.net
Todo:
* UTF-8 aware Character-Encoding
* AUTO-RECONNECT must be implemented
Author:
* Markus Broeker mbroeker@largo.homelinux.org
Comments:
* scanner/parser rewritten
* a flex / bison parser will be better and safer than pointer arithmetics