mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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
This commit is contained in:
parent
d44b803c3c
commit
e3b33796ff
4 changed files with 53 additions and 107 deletions
|
|
@ -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, ...);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue