]>
Commit | Line | Data |
---|---|---|
18038256 | 1 | GNU Thales structures : |
2 | ======================= | |
2ace9480 | 3 | |
18038256 | 4 | If you are interested in improving thales, you might want to read the following |
5 | about thales structure. | |
2ace9480 | 6 | |
7 | IRC messages handling, and database handling, are done in : | |
8 | - messages.* | |
9 | - actions.* | |
10 | - db.* | |
11 | ||
18038256 | 12 | messages.* handles the basic IRC commands, like PING, MOTD, etc ... using m_* |
13 | functions. When a command requires to query the database, it is forwarded to | |
14 | the corresponding do_* function in actions.*. do_* use db_* functions (in | |
15 | db.*) to query the database. | |
2ace9480 | 16 | |
17 | Patches : | |
18 | ||
18038256 | 19 | If you want to send a patch, please use diff -burN, and review your patch by |
20 | hand. I particularly dislikes reading patches which include your config.log, | |
21 | makefiles, etc ... :) | |
2ace9480 | 22 | |
23 | IRCD modes : | |
24 | ||
25 | Here are the modes for the ircds supported by thales : | |
26 | Ultimate 3.0 : | |
27 | channels : | |
28 | include/struct.h:1164 | |
29 | src/channel.c:1405 | |
30 | nicks : | |
31 | src/s_user.c:78 | |
32 | ||
8c027567 | 33 | Unreal 3.2 : |
34 | channels : | |
35 | src/channel.c:129 | |
36 | users : | |
37 | src/umodes.c:120 | |
6e62cf37 | 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' | |
8c027567 | 40 | |
e20b26b4 | 41 | You 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); |