-/* modcmd.h - NeonServ v5.0
+/* modcmd.h - NeonServ v5.1
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
#define _modcmd_h
#include "main.h"
+#define MAXPARAMETERS 50
+
#define CMDFLAG_REQUIRE_CHAN 0x0001
#define CMDFLAG_REQUIRE_AUTH 0x0002
#define CMDFLAG_REQUIRE_GOD 0x0004
int botid;
struct cmd_function *func;
unsigned int flags;
- char *parameters;
+ char *parameters[MAXPARAMETERS];
+ int paramcount;
int global_access;
char *channel_access;