How Unreal stores channels and users information?

These are old archives. They are kept for historic purposes only.
Post Reply
Castalia
Posts: 5
Joined: Sun Jun 13, 2004 6:21 am

How Unreal stores channels and users information?

Post by Castalia »

It seems that Unreal stores channels and users information in some file, I'm not sure which file is. I wonder if I can store them in MySQL Database? Then I can access IRC data with PHP on web :)
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Please use the search function before posting...

http://forums.unrealircd.com/viewtopic.php?t=2059
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Re: How Unreal stores channels and users information?

Post by codemastr »

Castalia wrote:It seems that Unreal stores channels and users information in some file, I'm not sure which file is. I wonder if I can store them in MySQL Database? Then I can access IRC data with PHP on web :)
I haven't the slightest clue what gave you the idea that Unreal stored this information in a file, that would be insane! Unreal stores everything (well almost everything) in memory (RAM), not in a file.
-- codemastr
Castalia
Posts: 5
Joined: Sun Jun 13, 2004 6:21 am

Post by Castalia »

soory for duplicate question :P but i really searched and found that topic, but I can not sure for some thing more.

I'm beginner and havn't researched Unreal. but I think if they're all in the memory, when resarted, all user and channel information will be lost? And I havent' found any DB required, so I guess it's in some file.

Thanks for your reply :)
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Castalia wrote:when resarted, all user and channel information will be lost?
Exactly. If you restart the server, all users get disconnected - so there's no need to store this information anyway...
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

I think what your looking for are services (user and channel management system)

Anope is able to store this information into a mysql database
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
Post Reply