Fix bug #52 - [Request] Chat history command

This commit is contained in:
Jan Vidar Krey
2009-07-26 05:23:56 +02:00
parent 76b84499bc
commit b125ffe3c1
6 changed files with 102 additions and 19 deletions

View File

@@ -19,17 +19,4 @@
#include "uhub.h"
#define CHAT_MSG_HANDLED 1
#define CHAT_MSG_IGNORED 0
#define CHAT_MSG_INVALID -1
typedef int (*plugin_event_chat_message)(struct hub_info*, struct hub_user*, struct adc_message*);
struct command_info
{
const char* prefix;
enum user_credentials cred;
plugin_event_chat_message function;
};
int command_dipatcher(struct hub_info* hub, struct hub_user* user, const char* message);
extern int command_dipatcher(struct hub_info* hub, struct hub_user* user, const char* message);