added "message own_public" and "message own_private" events that are

sent when /msg command is used. this way we don't need to parse the
/msg's options everywhere. also efnet @#channels support works now better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-01 16:57:25 +00:00 committed by cras
commit 2ae679be08
15 changed files with 210 additions and 141 deletions

View file

@ -176,7 +176,7 @@ static void cmd_ignore(const char *data)
if (*levels == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
if (active_win->active_server != NULL &&
active_win->active_server->ischannel(*mask)) {
active_win->active_server->ischannel(mask)) {
chanarg = mask;
mask = NULL;
}
@ -264,7 +264,7 @@ static void cmd_unignore(const char *data)
const char *chans[2] = { "*", NULL };
if (active_win->active_server != NULL &&
active_win->active_server->ischannel(*data)) {
active_win->active_server->ischannel(data)) {
chans[0] = data;
data = NULL;
}