forked from PsychoticNinja/irssi
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
17 lines
404 B
C
17 lines
404 B
C
#ifndef __IRC_NICKLIST_H
|
|
#define __IRC_NICKLIST_H
|
|
|
|
#include "nicklist.h"
|
|
|
|
/* Add new nick to list */
|
|
NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick,
|
|
int op, int voice, int send_massjoin);
|
|
|
|
/* Remove all "extra" characters from `nick'. Like _nick_ -> nick */
|
|
char *irc_nick_strip(const char *nick);
|
|
|
|
void irc_nicklist_init(void);
|
|
void irc_nicklist_deinit(void);
|
|
|
|
#endif
|