]> jfr.im git - irc/atheme/atheme.git/commitdiff
update a bit more ♥♥
authorValwareIRC <redacted>
Mon, 28 Jun 2021 08:45:05 +0000 (09:45 +0100)
committerValwareIRC <redacted>
Mon, 28 Jun 2021 08:45:05 +0000 (09:45 +0100)
libathemecore/function.c
modules/chanserv/topic.c

index 4d55a8706b6adaaace77b64c1b376e5a82f36cbd..51644c4f1097f4a6e44767780bf86aacfa2f062d 100644 (file)
@@ -651,6 +651,7 @@ validtopic_ctrl_chars(const char *topic)
                                case 22:
                                case 23:
                                case 27:
+                               case 29: //italics
                                case 31:
                                        return false;
                        }
index 76c4896372486b59c362bb0ee30091c9e2f9e9e9..df975c5b363b071ba295bd67545f3ead981ef113 100644 (file)
@@ -59,7 +59,7 @@ cs_cmd_topic(struct sourceinfo *si, int parc, char *parv[])
        }
        if (!validtopic_ctrl_chars(topic))
        {
-               command_fail(si, fault_badparams, _("The new topic may not contain control chars including colour or bold."));
+               command_fail(si, fault_badparams, _("The new topic may not contain control chars, including colour, bold, italic and reverse."));
                return;
        }