]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Allow clearing general::kline_reason via a rehash.
authorJilles Tjoelker <redacted>
Tue, 16 Sep 2008 22:21:00 +0000 (00:21 +0200)
committerJilles Tjoelker <redacted>
Tue, 16 Sep 2008 22:21:00 +0000 (00:21 +0200)
src/s_conf.c

index 9b98fd5eee6e93a22d312b2d9630dbdb0fdee609..11f6f2a9e96b1b9c1dbb29e0dcc4a6360cd8aa1d 100644 (file)
@@ -1231,6 +1231,9 @@ clear_out_old_conf(void)
         */
 
        /* clean out general */
+       rb_free(ConfigFileEntry.kline_reason);
+       ConfigFileEntry.kline_reason = NULL;
+
        RB_DLINK_FOREACH_SAFE(ptr, next_ptr, service_list.head)
        {
                rb_free(ptr->data);