1GNU Thales structures :
2=======================
3
4If you are interested in improving thales, you might want to read the following
5about thales structure.
6
7IRC messages handling, and database handling, are done in :
8- messages.*
9- actions.*
10- db.*
11
12messages.* handles the basic IRC commands, like PING, MOTD, etc ... using m_*
13functions.  When a command requires to query the database, it is forwarded to
14the corresponding do_* function in actions.*.  do_* use db_* functions (in
15db.*) to query the database.
16
17Patches :
18
19If you want to send a patch, please use diff -burN, and review your patch by
20hand. I particularly dislikes reading patches which include your config.log,
21makefiles, etc ... :)
22
23IRCD modes :
24
25Here are the modes for the ircds supported by thales :
26Ultimate 3.0 :
27  channels :
28    include/struct.h:1164
29    src/channel.c:1405
30  nicks :
31    src/s_user.c:78
32
33Unreal 3.2 :
34   channels :
35      src/channel.c:129
36   users :
37      src/umodes.c:120
38      grep UmodeAdd umodes.c |grep UMODE | grep -v UMODE_LOCAL | grep -E "[a-z]'" | sed "s/^.*NULL, '\(.\)', UMODE.*$/\1/" | sort | tr -d '\n'
39      grep UmodeAdd umodes.c |grep UMODE | grep -v UMODE_LOCAL | grep -E "[A-Z]'" | sed "s/^.*NULL, '\(.\)', UMODE.*$/\1/" | sort | tr -d '\n'
40
41You should also grep for stuff like that :
42	req.paracount = 0;
43	req.is_ok = extcmode_default_requirechop;
44	req.flag = 'T';
45	CmodeAdd(NULL, req, &EXTMODE_NONOTICE);
46