Linking

These are old archives. They are kept for historic purposes only.
Post Reply
Callumlord
Posts: 35
Joined: Tue Mar 01, 2011 6:31 pm

Linking

Post by Callumlord »

Hello,

I am linking a new server to my IRC network and I have added a new me block...

Code: Select all

/*
 * NEW: me {} 
 * OLD: M:Line 
 * me {} defines the name, description and unreal server numeric for
 * this server. Syntax is as follows: 
 * me { 
 *  name "server.name"; 
 *  info "Server Description";
 *  numeric (server numeric*);
 * }; 
 * If linking, this numeric may not be used by any other server on the network.
 */
me
{
	name "Apple.callumlord.co.uk";
	info "Callum Lord IRC";
	numeric 1;
    };



name "Shuttle.callumlord.co.uk";
	info "Server-2";
	numeric 5;
   
};

And a new Link block...

Code: Select all

listen 192.168.0.7:6667;

link           Services.callumlord.co.uk
{
	username	*;
	hostname 	IP here;
        bind-ip 	*;
	port 		6667;
	hub             *;
	password-connect "password here";
	password-receive "spassword here";
	class           servers;
		options {
			
                        /* Note: You should not use autoconnect when linking services */
			zip;
	};
};


link     Shuttle.Callumlord.co.uk
{
        username        unknown;
        hostname        IP here;
        bind-ip         *;
        port            7000;
        hub             *;
        password-connect "Passwrd here";
        password-receive "Password here";
        class           servers;
		options {

         };
};
Then after /rehash it says...

Code: Select all

[19:00] -Apple.callumlord.co.uk- *** Notice -- Loading IRCd configuration ..
-
[19:00] -Apple.callumlord.co.uk- *** Notice -- unrealircd.conf:81: Ignoring extra close brace
-
[19:00] -Apple.callumlord.co.uk- *** Notice -- unrealircd.conf:81 Ignoring extra semicolon
-
[19:00] -Apple.callumlord.co.uk- *** Notice -- unrealircd.conf:77: unknown directive name
-
[19:00] -Apple.callumlord.co.uk- *** Notice -- unrealircd.conf:78: unknown directive info
-
[19:00] -Apple.callumlord.co.uk- *** Notice -- unrealircd.conf:79: unknown directive numeric
-
[19:00] -Apple.callumlord.co.uk- *** Notice -- Configuration loaded without any problems ..
-

Whats wrong?
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Linking

Post by Jobe »

You can ONLY have one me {} block per unrealircd.conf.

The me {} block, if you had read example.conf and the documentation, describes the server to which the config belongs and NOT any other.
Your IP: Image
Your Country: Image
Post Reply