Problem with /motd

These are old archives. They are kept for historic purposes only.
Post Reply
ChaKaL
Posts: 4
Joined: Sat Dec 11, 2004 4:23 pm
Location: Caguas, Puerto Rico
Contact:

Problem with /motd

Post by ChaKaL »

What's up i just bought a shell and a person installed for me the Unreal 3.2. But i didn't know that is prohibited to mess up with the /oper raw commands and now my /motd doesn't take the changes when i modify it thru ssh. Can anyone please tell me if my /motd is damage and i need to re-config everything also the unrealircd.conf ? Thanks in advice,
Jorge
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

For god's sake, don't reconfigure anything, neither unrealircd.conf, you don't need to. :) I don't know how you've jumped to the conclusion that OperServ RAW commands (if "/oper raw commands" mean to be them) have made your MOTD stop taking changes, but I think that it must be the result of something else. Something you've just missed out. And I think you've just forgotten to tell Unreal to reload the MOTD. A simple /rehash or /rehash -motd should reload it. If you don't issue any of these commands each time after changing MOTD, it won't be reloaded.
ChaKaL
Posts: 4
Joined: Sat Dec 11, 2004 4:23 pm
Location: Caguas, Puerto Rico
Contact:

Post by ChaKaL »

I tried that already but like i said when i type /rehash or /rehash -motd and i type /motd in the server window the changes i made in the ircd.config don't take effects. What do you think ?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

ircd.config? Huh? Is it an MOTD file with a strange name defined in a 'tld' configuration block, or did you make a typo? Because generally you don't put your MOTD into *.config files. You put them into ircd.motd (default MOTD file), ircd.motd.<tld> or something similar...
ChaKaL
Posts: 4
Joined: Sat Dec 11, 2004 4:23 pm
Location: Caguas, Puerto Rico
Contact:

Post by ChaKaL »

Sorry but my english sucks i will try me best to tell you exactly what's going on here it comes:

On my Unreal3.2 folder there is the ircd.motd.fr. When i edit it like changing names, ips etc i click ctrol + x to save it. When i do that i go to the irc server and i type /rehash. When i type rehash or /rehash -motd it should update the ircd.motd.fr with the update changes. The problem is that when i do that the changes doesn't take effect. That means that the ircd.motd.fr is edited on the ssh or ftp BUT in the ircd are not update or don't take effect the changes. Sorry for my bad english heh, any help ?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Okay, my question is then: do you have any tld block in your configuration that has an motd directive with the value 'ircd.motd.fr'? If yes, check whether the tld::mask value matches your user@host, because if not, you won't see the French MOTD (you know, '.fr' means French, it's a top level domain). Or if you have other tld blocks there, probably an other one matches your user@host earlier (before the French tld block would match), so you see an other MOTD.

If you don't have any tld blocks, then I can't understand why you use ircd.motd.fr instead of simply ircd.motd, which is the default MOTD, as I said before. Without tld blocks, ircd.motd.fr doesn't make sense. And if you use only ircd.motd, you don't need to have tld blocks.
Post Reply