summaryrefslogtreecommitdiff
path: root/src/irc/core/irc.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-05-11 15:48:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-05-11 15:48:09 +0000
commite3b33796ff29574e3c91c07e2aa3d669b3cd4760 (patch)
tree903e10b4fd3db5654d86f502bb7a31ef302299b5 /src/irc/core/irc.h
parentd44b803c3cb14d6ea94b90fc6c9f74e05854062a (diff)
downloadirssi-e3b33796ff29574e3c91c07e2aa3d669b3cd4760.zip
Moved PARAM_FLAG_OPTCHAN handling to core. Removed support for adding own
command parameter parsers, it's probably useless now that opt.channels are in core. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1482 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc.h')
-rw-r--r--src/irc/core/irc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/irc/core/irc.h b/src/irc/core/irc.h
index c4e4ed10..17a18635 100644
--- a/src/irc/core/irc.h
+++ b/src/irc/core/irc.h
@@ -50,12 +50,8 @@ void irc_send_cmd_now(IRC_SERVER_REC *server, const char *cmd);
void irc_send_cmd_full(IRC_SERVER_REC *server, const char *cmd,
int send_now, int immediate, int raw);
-#include "commands.h" /* contains the generic PARAM_FLAG_xxx defines */
-
-/* IRC specific: optional channel in first argument */
-#define PARAM_FLAG_OPTCHAN 0x10000000
-
/* Get count parameters from data */
+#include "commands.h"
char *event_get_param(char **data);
char *event_get_params(const char *data, int count, ...);