mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
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:
parent
219c83ae6a
commit
2ae679be08
15 changed files with 210 additions and 141 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue