diff --git a/mbuni/mmsbox/mmsbox.c b/mbuni/mmsbox/mmsbox.c index 2911a94..75e3f60 100644 --- a/mbuni/mmsbox/mmsbox.c +++ b/mbuni/mmsbox/mmsbox.c @@ -161,7 +161,7 @@ static MmsService *get_service(Octstr *keyword, Octstr *mmc_id, Octstr *receiver continue; if (ms->allowed_receiver_prefix && phonenum && - does_prefix_match(ms->denied_receiver_prefix, phonenum) == 0) + does_prefix_match(ms->allowed_receiver_prefix, phonenum) == 0) continue; if (keyword &&