summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-command.h')
-rw-r--r--src/plugins/irc/irc-command.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-command.h b/src/plugins/irc/irc-command.h
index d4c4eb66a..dd9e98c79 100644
--- a/src/plugins/irc/irc-command.h
+++ b/src/plugins/irc/irc-command.h
@@ -20,7 +20,7 @@
#ifndef __WEECHAT_IRC_COMMAND_H
#define __WEECHAT_IRC_COMMAND_H 1
-#include "irc-server.h"
+struct t_irc_server;
#define IRC_COMMAND_TOO_FEW_ARGUMENTS(__buffer, __command) \
weechat_printf (__buffer, \
@@ -29,10 +29,14 @@
return WEECHAT_RC_ERROR;
-extern void irc_command_away_server (struct t_irc_server *, char *);
-extern void irc_command_join_server (struct t_irc_server *, char *);
-extern void irc_command_mode_server (struct t_irc_server *, char *);
-extern void irc_command_quit_server (struct t_irc_server *, char *);
+extern void irc_command_away_server (struct t_irc_server *server,
+ char *arguments);
+extern void irc_command_join_server (struct t_irc_server *server,
+ char *arguments);
+extern void irc_command_mode_server (struct t_irc_server *server,
+ char *arguments);
+extern void irc_command_quit_server (struct t_irc_server *server,
+ char *arguments);
extern void irc_command_init ();
#endif /* irc-command.h */