]> jfr.im git - solanum.git/blobdiff - modules/core/m_join.c
implement configurable channel modes (closes #31)
[solanum.git] / modules / core / m_join.c
index b18921413bf5b563e616139bfc19662d6c90445f..b45728e3b97565bdfa349e39cd55519325460f2f 100644 (file)
@@ -341,8 +341,7 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
                if(flags & CHFL_CHANOP)
                {
                        chptr->channelts = rb_current_time();
-                       chptr->mode.mode |= MODE_TOPICLIMIT;
-                       chptr->mode.mode |= MODE_NOPRIVMSGS;
+                       chptr->mode.mode |= ConfigChannel.autochanmodes;
                        modes = channel_modes(chptr, &me);
 
                        sendto_channel_local(ONLY_CHANOPS, chptr, ":%s MODE %s %s",