MOTD
MOTD
Hi. I just spent about an hour getting my UnrealIRCD up. And now, I can't even get MOTD working! I have a MOTD file in the same directory that UnrealIRCD is installed in.......is that right? Am I just supposed to type the message in that file? Put it in brackets? A little help please.
simply rehashing won't work. You need to rehash -motd.
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
Let me correct you. I'll show you how a simple /rehash reloads the MOTD:jewles wrote:simply rehashing won't work. You need to rehash -motd.
1. No MOTD file, after UnrealIRCd startup and connecting as a client, I get the following message:
422 MOTD File is missing
2. After creating ircd.motd and /rehash'ing:
372 - ! TEST !
3. After modifying the contents of ircd.motd and doing a /rehash again:
372 - ! TEST ! <Changed>
Probably you are talking about an old behaviour, but newer Unreal versions (including Unreal3.2.2) reload the MOTD & Rules just fine. Of course, /rehash -motd can still be used to reload only those two files.
Then why not use /rehash -motd when that is all you wish to reload?Of course, /rehash -motd can still be used to reload only those two files.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
Thanks again for all your help. I can't seem to be able to give my self the permissions I need to rehash though heh. Here is the code I am using:
Any ideas?[/code]
Code: Select all
oper SNewman {
class clients;
from {
userhost *@*;
};
flags
{
r,O,A;
};
};You can't mix the old flags with the new format. Try using admin; (note that that's all you need)SNewman wrote:Thanks again for all your help. I can't seem to be able to give my self the permissions I need to rehash though heh. Here is the code I am using:
Any ideas?[/code]Code: Select all
oper SNewman { class clients; from { userhost *@*; }; flags { r,O,A; }; };
doc/example.conf says you can still use the old flags. At least the Win32 version does. Would that be inaccurate and need to be removed? (Taken from Win32 - Unreal3.2.2)
Code: Select all
/*
* NEW: oper {}
* OLD: O:Line
* Defines an IRC Operator
* IRC operators are there to keep sanity to the server and usually keep it
* maintained and connected to the network.
* The syntax is as follows:
* oper (login) {
* class (class to put them in, if different from I, moves them to new
* class);
* from {
* userhost (ident@host);
* userhost (ident@host);
* };
* flags
* {
* (flags here*);
* };
* OR
* flags "old type flags, like OAaRD";
* };
*/
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
So...
This :
Becomes this :
isn't it ?
edit :
or this ?
This :
Code: Select all
flags
{
r,O,A;
};
Code: Select all
flags
{
rOA;
};
edit :
or this ?
Code: Select all
flags "rOA";Code: Select all
flags "old type flags, like OAaRD";
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
The last I think... I don't use "old style" flags...katsklaw wrote:Which one of you questions most resembles the example?Code: Select all
flags "old type flags, like OAaRD";