]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
- Disallowing channels with : in them, it's not worth to risk breakage of 32* to...
authorBram Matthys <redacted>
Sun, 29 Apr 2007 22:41:00 +0000 (22:41 +0000)
committerBram Matthys <redacted>
Sun, 29 Apr 2007 22:41:00 +0000 (22:41 +0000)
  services, and other things like odd-extbans and things we haven't thought about,
  all for allowing one silly character.

Changes
src/channel.c

diff --git a/Changes b/Changes
index f8f8ea4f8791762e6b7886ac40d03cdcd8971ccd..918aa218fe8bf6c31d97d982a4dae8bf6504e393 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1636,3 +1636,6 @@ MOTDs
   proper channel name to other servers, Local KICK now displays proper
   channel name from other servers
 - Fixed SVSKILL sending an illegal (wrong direction) QUIT right after, #0003307
+- Disallowing channels with : in them, it's not worth to risk breakage of 32* to 33*,
+  services, and other things like odd-extbans and things we haven't thought about,
+  all for allowing one silly character.
index 13f780919fede8b039816b060d7fc681ad1e2513..06fc75198ba60d6e6dc2cc08b90c11687ad88953 100644 (file)
@@ -1112,7 +1112,7 @@ void clean_channelname(char *cn)
                 * or some such.
                 *   --Wizzu
                 */
-               if (*ch < 33 || *ch == ',' || *ch == 160)
+               if (*ch < 33 || *ch == ',' || *ch == 160 || *ch == ':')
                {
                        *ch = '\0';
                        return;