#include "bot.h" hash_t commands[LASTCMD]; hash_t words[LASTWORD]; void init_commands() { commands[PRIVMSG] = hash("PRIVMSG"); commands[MODE] = hash("MODE"); commands[JOIN] = hash("JOIN"); commands[QUIT] = hash("QUIT"); commands[NICK] = hash("NICK"); commands[PART] = hash("PART"); } void init_words() { words[ASCII] = hash("ASCII"); words[RAVE] = hash("RAVE"); words[STATS] = hash("STATS"); words[HUG] = hash("HUG"); words[KICK] = hash("KICK"); }