1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

"message irc notice" - when figuring out if it's server notice or not,

check also if address == "" instead of just == NULL. At least if perl script
emits the signal it gets "".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2088 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-19 17:21:11 +00:00 committed by cras
parent c710ca1d7e
commit f5c9e3648e

View File

@ -189,8 +189,8 @@ static void sig_message_irc_notice(SERVER_REC *server, const char *msg,
const char *target)
{
const char *oldtarget;
if (address == NULL) {
if (address == NULL || *address == '\0') {
/* notice from server */
if (!ignore_check(server, nick, "",
target, msg, MSGLEVEL_SNOTES)) {