]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/chmode.c
Looks like irc_dictionary things cannot support more than one key with the same value...
[irc/rqf/shadowircd.git] / src / chmode.c
index ecff7d9d770736b9100455b2bedcbc4c0855c09d..792016a3fdc4fd3cf952b93c6fb6e72abaa249b8 100644 (file)
@@ -548,7 +548,7 @@ chm_simple(struct Client *source_p, struct Channel *chptr,
                {
                        DICTIONARY_FOREACH(md, &iter, chptr->metadata)
                        {
-                               if(!strcmp(md->name, "KICKNOREJOIN"))  
+                               if(!strcmp(md->value, "KICKNOREJOIN"))  
                                        channel_metadata_delete(chptr, md->name, 0);
                        }
                }