aboutsummaryrefslogtreecommitdiffstats
path: root/commands.h
diff options
context:
space:
mode:
authorIndent <please@skip.me>2015-02-19 02:47:20 -0300
committerdequis <dx@dxzone.com.ar>2015-02-20 19:50:54 -0300
commit5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch)
tree9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /commands.h
parentaf359b4316f9d392c6b752495a1b2ed631576ed8 (diff)
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
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