aboutsummaryrefslogtreecommitdiffstats
path: root/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/commands.h b/commands.h
index 0b03f977..5828eb9e 100644
--- a/commands.h
+++ b/commands.h
@@ -1,4 +1,4 @@
- /********************************************************************\
+/********************************************************************\
* BitlBee -- An IRC to other IM-networks gateway *
* *
* Copyright 2002-2004 Wilmer van der Gaast and others *
@@ -28,8 +28,7 @@
#include "bitlbee.h"
-typedef struct command
-{
+typedef struct command {
char *command;
int required_parameters;
void (*execute)(irc_t *, char **args);
@@ -38,11 +37,11 @@ typedef struct command
extern command_t root_commands[];
-#define IRC_CMD_PRE_LOGIN 1
-#define IRC_CMD_LOGGED_IN 2
-#define IRC_CMD_OPER_ONLY 4
-#define IRC_CMD_TO_MASTER 8
+#define IRC_CMD_PRE_LOGIN 1
+#define IRC_CMD_LOGGED_IN 2
+#define IRC_CMD_OPER_ONLY 4
+#define IRC_CMD_TO_MASTER 8
-#define IPC_CMD_TO_CHILDREN 1
+#define IPC_CMD_TO_CHILDREN 1
#endif