Page 1 of 1

llow::allow specified without a value

Posted: Thu Aug 13, 2009 8:29 pm
by intel233
allow {
ip *@*;
hostname *@*;
class clients;
password "RoCkz";
maxperip 4;
options {
ssl;
};


allow {
ip *@77.XXX.XXX.XXX;
hostname *;
class clients;
maxperip 6;
};


allow {
ip *@127.0.0.1;
hostname *@services.localhost.net;
class servers;
maxperip 2;
};
};

I dont know what I am missing but on a rehash I get allow::allow specified without a value This looks just like the config I was using before except I changed the order.

Re: llow::allow specified without a value

Posted: Thu Aug 13, 2009 8:42 pm
by Casper
intel233, part one wrote:allow {
ip *@*;
hostname *@*;
class clients;
password "RoCkz";
maxperip 4;
options {
ssl;
};
Opening { twice, closing once, so you need one more }; there.

Code: Select all

allow {
	ip *@*;
	hostname *@*;
	class clients;
        password "RoCkz";
	maxperip 4;
	options {
		ssl;
};
};
intel233, part two wrote:allow {
ip *@77.XXX.XXX.XXX;
hostname *;
class clients;
maxperip 6;
};

allow {
ip *@127.0.0.1;
hostname *@services.localhost.net;
class servers;
maxperip 2;
};
};
That makes the last }; not necessary. So you need to remove the last one.

Code: Select all

allow {
	ip *@127.0.0.1;
	hostname *@services.localhost.net;
	class servers;
        maxperip 2;
};

Re: llow::allow specified without a value

Posted: Thu Aug 13, 2009 8:56 pm
by katsklaw
if that services allow block is supposed to be for services, you can delete it. Services clients connect to their own IRCd.