llow::allow specified without a value

These are old archives. They are kept for historic purposes only.
Post Reply
intel233
Posts: 13
Joined: Wed Aug 12, 2009 10:25 pm

llow::allow specified without a value

Post 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.
Casper
Posts: 338
Joined: Sun Jul 08, 2007 7:44 am
Location: The Netherlands

Re: llow::allow specified without a value

Post 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;
};
Ex Network-Administrator
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: llow::allow specified without a value

Post by katsklaw »

if that services allow block is supposed to be for services, you can delete it. Services clients connect to their own IRCd.
Post Reply