From: Martin Johansson Date: Sat, 14 Dec 2013 21:54:23 +0000 (+0100) Subject: Fix silent channel not working. X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=commitdiff_plain;h=2c0dc163ea5a84f8bf2d4fb5ac98985d77da32c1 Fix silent channel not working. --- diff --git a/src/channel.c b/src/channel.c index 021f9bd..d5d873c 100644 --- a/src/channel.c +++ b/src/channel.c @@ -153,6 +153,7 @@ void Chan_init() if (i == 0) { rootChan = createChannel(0, chdesc.name, chdesc.description); rootChan->noenter = chdesc.noenter; + rootChan->silent = chdesc.silent; list_add_tail(&rootChan->flatlist_node, &channels); if (strcmp(defaultChannelName, chdesc.name) == 0) defaultChan = rootChan; @@ -162,6 +163,7 @@ void Chan_init() ch = Chan_createChannel(chdesc.name, chdesc.description); ch->noenter = chdesc.noenter; ch->position = chdesc.position; + ch->silent = chdesc.silent; if (chdesc.password) { Log_info("Setting password on channel '%s'", ch->name); ch->password = strdup(chdesc.password);