Missing semicolon before close brace

These are old archives. They are kept for historic purposes only.
Post Reply
Whistler
Posts: 7
Joined: Tue Jun 21, 2005 10:11 am
Location: Sweden
Contact:

Missing semicolon before close brace

Post 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?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

That it's commented out?
No, seriously... The error's somewhereabove that line. Check for missing semicolons.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Whistler
Posts: 7
Joined: Tue Jun 21, 2005 10:11 am
Location: Sweden
Contact:

the link block

Post 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 =/
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Whistler
Posts: 7
Joined: Tue Jun 21, 2005 10:11 am
Location: Sweden
Contact:

Post by Whistler »

What asterisks did you meant?
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

Whistler wrote:link services.whistler.no-ip.com;
Why do you have a semi-colon here?
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
Whistler
Posts: 7
Joined: Tue Jun 21, 2005 10:11 am
Location: Sweden
Contact:

Post by Whistler »

I don't know, i removed the semi-colon, but i still get same error..
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Re: the link block

Post 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)
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
Whistler
Posts: 7
Joined: Tue Jun 21, 2005 10:11 am
Location: Sweden
Contact:

Post by Whistler »

At last i solved it =) Thx all yaa people :D
Post Reply