]> jfr.im git - solanum.git/blobdiff - modules/um_callerid.c
callerid: fix a missed instance of hardcoded +g
[solanum.git] / modules / um_callerid.c
index afbd624b4e2f4de85a91ab529846d8c6d7c8b8ef..1e7a9e75932ee13e92747e2fd23a664c93a874e7 100644 (file)
@@ -180,7 +180,7 @@ add_callerid_accept_for_source(enum message_type msgtype, struct Client *source_
                {
                        sendto_one_numeric(source_p, ERR_OWNMODE,
                                        form_str(ERR_OWNMODE),
-                                       target_p->name, "+g");
+                                       target_p->name, IsSetStrictCallerID(target_p) ? "+g" : "+G");
                        return false;
                }
        }