Page 1 of 1

Missing semicolon before close brace

Posted: Tue Jun 21, 2005 10:15 am
by Whistler
I get the error message "Missing semicolon before close brace" on line298,

Code: Select all

 *	options {
 *		(options here*);
 	};
 *      /* If we use SSL, we can choose what cipher to use in SSL mode
 *       * Retrieve a list by "openssl ciphers", seperate ciphers with :'s
 *      */
 *	ciphers "DES-CBC3-MD5";  
 *	}; 
/*
the line after ciphers is line298, what's wrong with the code?

Posted: Tue Jun 21, 2005 10:19 am
by Dukat
That it's commented out?
No, seriously... The error's somewhereabove that line. Check for missing semicolons.

the link block

Posted: Tue Jun 21, 2005 10:56 am
by Whistler
I paste the link block

Code: Select all

/*
 * NEW: link {}
 * OLD: C/N:Lines
 * This defines an okay for a server connection.
 * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
 * Syntax is as follows:
*/
link services.whistler.no-ip.com;
 { 
 	username	*;
  	hostname	localhost;
 	bind-ip		*;
 	port		6667;
 	hub 		*;
 	password-connect "robin";
 	password-receive "robin";
 	class		servers;
 *	options {
 *		(options here*);
 	};
 *      /* If we use SSL, we can choose what cipher to use in SSL mode
 *       * Retrieve a list by "openssl ciphers", seperate ciphers with :'s
 *      */
 *	ciphers "DES-CBC3-MD5";  
 *	}; 
/*
But i really can't find anything wrong =/

Posted: Tue Jun 21, 2005 11:10 am
by Dukat
What are these asterisks (*) in front of some lines? You have to remove them. They were only there to indicate a comment...

Have a look at http://forums.unrealircd.com/viewtopic.php?t=329

Posted: Tue Jun 21, 2005 11:42 am
by Whistler
What asterisks did you meant?

Posted: Tue Jun 21, 2005 11:54 am
by Matridom
Whistler wrote:link services.whistler.no-ip.com;
Why do you have a semi-colon here?

Posted: Tue Jun 21, 2005 11:59 am
by Whistler
I don't know, i removed the semi-colon, but i still get same error..

Re: the link block

Posted: Tue Jun 21, 2005 12:18 pm
by Matridom

Code: Select all

link services.whistler.no-ip.com { 
 	username	*;
  	hostname	localhost;
 	bind-ip	*;
 	port	6667;
 	hub 	*;
 	password-connect "robin";
 	password-receive "robin";
 	class	servers;
	ciphers      "DES-CBC3-MD5";  
}; 
I would try this. I prefer to write my own .conf file and comment it with relavent information rather then take the example conf file and rework it. That way, i don't end up with a ton of next to useless comments in my working file (the example is there for reference reasons so those comments are valid)

Posted: Tue Jun 21, 2005 8:31 pm
by Whistler
At last i solved it =) Thx all yaa people :D