Added support for bahamut @+#channel notices. Removed notice_public_ops

format, notice_public is just fine if the channel just contains @ or @+
at the beginning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1538 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-06-04 19:50:16 +00:00 committed by cras
commit 3609f6f243
6 changed files with 51 additions and 33 deletions

View file

@ -71,7 +71,13 @@ static int isnickflag_func(char flag)
static int ischannel_func(const char *data)
{
return ischannel_target(data);
if (*data == '@') {
/* @#channel, @+#channel */
data++;
if (*data == '+' && ischannel(data[1]))
return 1;
}
return ischannel(*data);
}
static void send_message(SERVER_REC *server, const char *target,