projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f1cf57
)
Fix silent channel not working.
author
Martin Johansson
<martin@fatbob.nu>
Sat, 14 Dec 2013 21:54:23 +0000
(22:54 +0100)
committer
Martin Johansson
<martin@fatbob.nu>
Sat, 14 Dec 2013 21:54:23 +0000
(22:54 +0100)
src/channel.c
patch
|
blob
|
history
diff --git
a/src/channel.c
b/src/channel.c
index 021f9bd5bb63eb87646e09dfda3bbd5583b17641..d5d873cae3c7f25ed203eb30fab5411dd94b2c39 100644
(file)
--- 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;
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;
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 = 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);
if (chdesc.password) {
Log_info("Setting password on channel '%s'", ch->name);
ch->password = strdup(chdesc.password);