Refactored command parsing.

Allows for automatically tested command parsing by splitting parsing
and invokation of the commands.
This commit is contained in:
Jan Vidar Krey
2011-12-19 00:34:20 +01:00
parent fc5e09aa9e
commit f2cb84180a
11 changed files with 698 additions and 443 deletions

View File

@@ -31,8 +31,7 @@
struct plugin_command
{
const char* message;
char* prefix;
size_t prefix_len;
const char* prefix;
struct linked_list* args;
};