]> jfr.im git - irc/thales.git/blame - README.coders
added capability to change mysql port
[irc/thales.git] / README.coders
CommitLineData
18038256 1GNU Thales structures :
2=======================
2ace9480 3
18038256 4If you are interested in improving thales, you might want to read the following
5about thales structure.
2ace9480 6
7IRC messages handling, and database handling, are done in :
8- messages.*
9- actions.*
10- db.*
11
18038256 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.
2ace9480 16
17Patches :
18
18038256 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 ... :)
2ace9480 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
8c027567 33Unreal 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 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);