]> jfr.im git - solanum.git/blobdiff - src/channel.c
Disallow $ in usernames as this may cause problems with ban forwarding.
[solanum.git] / src / channel.c
index 4d4d25601522d2dbc14b9fcad00f38f608d5f200..1641a0e2b4c7088add67b00675c42765eb85c08a 100644 (file)
@@ -1236,7 +1236,8 @@ channel_modes(struct Channel *chptr, struct Client *client_p)
                                           chptr->mode.join_time);
        }
 
-       if(*chptr->mode.forward)
+       if(*chptr->mode.forward &&
+                       (ConfigChannel.use_forward || !IsClient(client_p)))
        {
                *mbuf++ = 'f';