Page 1 of 1

[error] set::cloak-keys missing!

Posted: Mon Mar 02, 2009 8:59 pm
by DarkRaven
Hello everyone,

I was trying to set up UnrealIRCd this morning and I've reached the point where I don't know what to do.
I am using Debian 5 and here is the part out of my config:

set {
[...]
cloak-keys {
"aB1chhiGIg79g9fIgigioGIGh8989gGgGgG9D2eF3gH4";
"iJ5khgzgz677VOIOug89gGg9FGzfZGHh89hL6mN7oP8";
"qR9sTggGhoGuiog79679hh809hHH809zhH99hHHo0uV1wX2";
};
[...]
};


And it keeps saying:

* Loading IRCd configuration ..
[error] set::cloak-keys missing!
[error] 1 errors encountered
[error] IRCd configuration failed to pass testing

From my understanding this shouldn't happen since the way I've defined the cloak keys should be correct. I've already tried shorter keys and also without " ", no difference.
Thx in advance for any help!

Re: [error] set::cloak-keys missing!

Posted: Tue Mar 03, 2009 1:56 am
by Stealth
What's the line above it in your set block?

Re: [error] set::cloak-keys missing!

Posted: Tue Mar 03, 2009 7:19 am
by DarkRaven
The line above is "help-channel #help;".

Re: [error] set::cloak-keys missing!

Posted: Tue Mar 03, 2009 7:37 am
by Stealth
The channel name needs to be in quotes.

Code: Select all

help-channel "#help";
What happens is Unreal is reading the # as the start of a comment, so the ; would be in the comment, which doesn't close the line. Anywhere you're missing a ;, it won't see the end of that directive until the next logical ;. This means it completely ignores the cloak-keys sub-section.

Re: [error] set::cloak-keys missing!

Posted: Tue Mar 03, 2009 11:57 am
by DarkRaven
Thank you, it works! I was just used to naming channels with a # :)