Page 1 of 1

adding a 2nd oper help

Posted: Thu May 06, 2004 2:58 am
by fizzy
ok i added myself as an oper fine but addin another oper it says on the irc server something about EOF at line 252 i am guessing i need }; after my oper stuff?

i am new with this new format so please reply nicely

Posted: Thu May 06, 2004 2:59 am
by codemastr
Yes, it does indeed sound like you missed a }; somewhere. It's hard to tell where exactly without seeing it though. Just make sure it looks just like your other oper block.

Posted: Thu May 06, 2004 3:13 am
by fizzy
hmm well i did add a }; after my oper info still says it and its the exact as mine except i removed a few flags

here is what i see in the status prt of my irc client

Code: Select all

*** Notice -- Rehashing the Config file via the console
[23:00:37] -irc.phonebone.us- *** Notice -- Loading IRCd configuration ..
[23:00:37] -irc.phonebone.us- *** Notice -- unrealircd.conf:399 Ignoring extra end comment
[23:00:37] -irc.phonebone.us- *** Notice -- error: unrealircd.conf: Unexpected EOF for section starting on line 252
[23:00:37] -irc.phonebone.us- *** Notice -- error: Could not load config file unrealircd.conf
[23:00:37] -irc.phonebone.us- *** Notice -- error: IRCd configuration failed to load
[23:00:39] -irc.phonebone.us- *** Notice -- Client connecting on port 6667: cNf`58413 ([email protected]) [clients]
[23:04:28] -irc.phonebone.us- *** Notice -- Client connecting on port 6667: cNf`83738 ([email protected]) [clients]
and here is what the 2 opers look like again the 2nd one has some oper flags removed

Code: Select all

oper fizzy {
	class           clients;
	from {
		userhost *@*;
	};
	password "pass";
	flags
	{
	global
			local;
			services-admin;
			admin;
			can_rehash;
			can_die;
			can_restart;
			helpop;
			can_wallops;
			can_globops;
			can_localroute;
			can_globalroute;
			can_localkill;
			can_globalkill;
			can_kline;
			can_gzline;
			can_gkline;
			can_unkline;
			can_localnotice;
			can_globalnotice;
			netadmin;
			coadmin;
			can_zline;
			get_umodew;
			get_host;
			can_override;

oper carve {
	class           clients;
	from {
		userhost *@*;
	};
	password "pass";
	flags
	{
	global
			local;
			services-admin;
			admin;
			helpop;
			can_wallops;
			can_globops;
			can_localroute;
			can_globalroute;
			can_localnotice;
			can_globalnotice;
			netadmin;
			coadmin;
			get_umodew;
			get_host;
			can_override;
	};
ok well hope this helps so u could help me any better

Posted: Thu May 06, 2004 3:33 am
by fizzy
ok after the thing errored and told me to send a core file to you guys i didn cuz i am tooooo lazy and it deleted the txt in the conf, so i am redoing it and i got it to work finally, just closed them both added 2 }; afer the info and it worked, thanks, and hope to see more work from u guys