0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

parse: export cmd_dict for use elsewhere.

This commit is contained in:
Elizabeth Myers 2016-03-05 01:04:54 -06:00
parent e8f1c19e7b
commit 7416e480b0
2 changed files with 2 additions and 1 deletions

View file

@ -42,5 +42,6 @@ extern void mod_del_cmd(struct Message *msg);
extern char *reconstruct_parv(int parc, const char *parv[]);
extern struct Dictionary *alias_dict;
extern struct Dictionary *cmd_dict;
#endif /* INCLUDED_parse_h_h */

View file

@ -44,7 +44,7 @@
#include "packet.h"
#include "s_assert.h"
static struct Dictionary *cmd_dict = NULL;
struct Dictionary *cmd_dict = NULL;
struct Dictionary *alias_dict = NULL;
/* parv[0] is not used, and parv[LAST] == NULL */