]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_user.c
Backed out changeset 3097ade953f5
[irc/rqf/shadowircd.git] / src / s_user.c
index b0ed306187ce5a04382050796b90354ddd20ea74..e6dc1ca60172d51773357d6fe0f9ff693f5a796c 100644 (file)
@@ -54,8 +54,6 @@
 #include "substitution.h"
 #include "chmode.h"
 
-struct module_modes ModuleModes;
-
 static void report_and_set_user_flags(struct Client *, struct ConfItem *);
 void user_welcome(struct Client *source_p);
 
@@ -1103,7 +1101,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char
                        }
                        /* FALLTHROUGH */
                default:
-                       if (MyConnect(source_p) && *pm == 'Q' && !ModuleModes.MODE_FORWARD) {
+                       if (MyConnect(source_p) && *pm == 'Q' && !ConfigChannel.use_forward) {
                                badflag = YES;
                                break;
                        }