Page 1 of 1

Badwords list rehashing problem

Posted: Thu Nov 27, 2008 4:05 pm
by raenis
I totally feel like I've missed something obvious, but... after searching with different phrases around the forums here, I've decided to ask.

I had just recently decided to add a couple words to the default badwords lists, and followed the examples from the default words exactly. However, when I rehash the config, it gives me the following errors:

Code: Select all

[09:31] -irc.aeonro.org- *** Notice -- Loading IRCd configuration ..
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:52: Ignoring extra data
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:52: Ignoring extra data
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:52: Ignoring extra data
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:52: Ignoring extra close brace
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:52 Ignoring extra semicolon
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:53: Ignoring extra data
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:53: Ignoring extra data
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:53: Ignoring extra data
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:53: Ignoring extra close brace
[09:31] -irc.aeonro.org- *** Notice -- badwords.channel.conf:53 Ignoring extra semicolon
[09:31] -irc.aeonro.org- *** Notice -- error: badwords.channel.conf:52: badword::word is missing
[09:31] -irc.aeonro.org- *** Notice -- error: badwords.channel.conf:53: badword::word is missing
[09:31] -irc.aeonro.org- *** Notice -- error: 2 errors encountered
[09:31] -irc.aeonro.org- *** Notice -- error: IRCd configuration failed to pass testing
The entries I added to the lists, using the badwords.channel.conf additions to show since the errors start there, are as follows, with the one default entry above them included. The line for "twilight" is line 52:

Code: Select all

badword channel { word "tits"; };
badword channel ( word "twilight"; };
badword channel ( word "tro"; };
I edited the file using pico/nano, so it -is- of course in plain text format. I'm just not entirely sure what's going on with it, as it appears correct to me.

Re: Badwords list rehashing problem

Posted: Thu Nov 27, 2008 4:32 pm
by Casper
badword channel { word "tits"; };
badword channel ( word "twilight"; };
badword channel ( word "tro"; };
Take a very close look:
badword channel { word "tits"; };
badword channel ( word "twilight"; };
The line with "tits" is like "badword channel {" while the line with "twilight" starts with "badword channel ("

You see the difference?

Re: Badwords list rehashing problem

Posted: Thu Nov 27, 2008 6:43 pm
by raenis
Oh man. Yep. Shame on me. That's what I get for editing crap after working all night. Thanks for your help!