mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
fix for _flag_enable_unauthenticated_message_private, thx tg
This commit is contained in:
parent
c8ff29e4d2
commit
d8afc4e598
1 changed files with 6 additions and 2 deletions
|
@ -1638,8 +1638,12 @@ case "_notice_invitation":
|
||||||
case "_message_private_question":
|
case "_message_private_question":
|
||||||
case "_message_private":
|
case "_message_private":
|
||||||
// same filtering code as couple lines above
|
// same filtering code as couple lines above
|
||||||
if (( IS_NEWBIE || !itsme && FILTERED(source)) &&
|
if ((
|
||||||
(!profile || profile[PPL_NOTIFY] <= PPL_NOTIFY_PENDING)) {
|
#ifndef _flag_enable_unauthenticated_message_private
|
||||||
|
IS_NEWBIE ||
|
||||||
|
#endif
|
||||||
|
(!itsme && FILTERED(source)) &&
|
||||||
|
(!profile || profile[PPL_NOTIFY] <= PPL_NOTIFY_PENDING))) {
|
||||||
PT(("_failure_filter_strangers to %O from %O\n", source, ME))
|
PT(("_failure_filter_strangers to %O from %O\n", source, ME))
|
||||||
sendmsg(source, "_failure_filter_strangers", 0,
|
sendmsg(source, "_failure_filter_strangers", 0,
|
||||||
([ "_nick" : MYNICK ]) );
|
([ "_nick" : MYNICK ]) );
|
||||||
|
|
Loading…
Reference in a new issue