@@ -118,14 +118,6 @@ construct_noparam_modes(void)
118
118
119
119
switch (chmode_flags [i ])
120
120
{
121
- case MODE_EXLIMIT :
122
- case MODE_DISFORWARD :
123
- if (ConfigChannel .use_forward )
124
- {
125
- * ptr ++ = (char ) i ;
126
- }
127
-
128
- break ;
129
121
case MODE_REGONLY :
130
122
if (rb_dlink_list_length (& service_list ))
131
123
{
@@ -530,11 +522,6 @@ chm_simple(struct Client *source_p, struct Channel *chptr,
530
522
/* setting + */
531
523
if ((dir == MODE_ADD ) && !(chptr -> mode .mode & mode_type ))
532
524
{
533
- /* if +f is disabled, ignore an attempt to set +QF locally */
534
- if (!ConfigChannel .use_forward && MyClient (source_p ) &&
535
- (c == 'Q' || c == 'F' ))
536
- return ;
537
-
538
525
chptr -> mode .mode |= mode_type ;
539
526
540
527
mode_changes [mode_count ].letter = c ;
@@ -1201,11 +1188,6 @@ chm_forward(struct Client *source_p, struct Channel *chptr,
1201
1188
struct membership * msptr ;
1202
1189
const char * forward ;
1203
1190
1204
- /* if +f is disabled, ignore local attempts to set it */
1205
- if (!ConfigChannel .use_forward && MyClient (source_p ) &&
1206
- (dir == MODE_ADD ) && (parc > * parn ))
1207
- return ;
1208
-
1209
1191
if (dir == MODE_QUERY || (dir == MODE_ADD && parc <= * parn ))
1210
1192
{
1211
1193
if (!(* errors & SM_ERR_RPL_F ))
@@ -1284,7 +1266,7 @@ chm_forward(struct Client *source_p, struct Channel *chptr,
1284
1266
mode_changes [mode_count ].dir = MODE_ADD ;
1285
1267
mode_changes [mode_count ].caps = 0 ;
1286
1268
mode_changes [mode_count ].nocaps = 0 ;
1287
- mode_changes [mode_count ].mems = ConfigChannel . use_forward ? ALL_MEMBERS : ONLY_SERVERS ;
1269
+ mode_changes [mode_count ].mems = ALL_MEMBERS ;
1288
1270
mode_changes [mode_count ].id = NULL ;
1289
1271
mode_changes [mode_count ++ ].arg = forward ;
1290
1272
}
0 commit comments