mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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:
parent
c710ca1d7e
commit
f5c9e3648e
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user