Alexander Barton
117a9e21e7
Updated URLs.
2005-06-24 20:59:13 +00:00
Alexander Barton
162338b8c8
Ignore unknown commands received before the client is registered.
2005-06-24 20:56:46 +00:00
Alexander Barton
de395db8e3
Get rid of Log_SetDaemonized().
2005-06-24 19:55:10 +00:00
Florian Westphal
dbea187373
removed global variable NGIRCd_NoDaemon
2005-06-24 19:20:56 +00:00
Florian Westphal
d81dab99fa
put badchars back in
2005-06-18 08:57:37 +00:00
Florian Westphal
9dc5e50226
fix embarassing cut&paste error (add missing } )
2005-06-17 23:17:09 +00:00
Florian Westphal
c06c815c28
fix "Can't get user information for UID" error message
2005-06-17 23:13:41 +00:00
Florian Westphal
04169f34cf
only chdir() to users home when running as daemon
2005-06-17 20:35:45 +00:00
Florian Westphal
aec535c8b6
s/sprintf/snprintf
2005-06-17 19:16:53 +00:00
Florian Westphal
2d4dd33627
use strlcpy
2005-06-17 19:15:43 +00:00
Florian Westphal
b0699efdab
remove unneeded strpy()
2005-06-17 19:14:58 +00:00
Florian Westphal
1ca8bb5255
startup: fork only once, never run with uid 0
2005-06-17 19:04:53 +00:00
Florian Westphal
bc2dac3c74
startup: fork only once, never run with uid 0.
2005-06-17 18:22:45 +00:00
Alexander Barton
94dd7fa7d6
IRC_LIST(): Added missing calls of Client_ID() and cleand up the code.
2005-06-12 18:23:59 +00:00
Florian Westphal
fcf65beea4
changed formatting to match ngircd coding style
2005-06-12 18:02:09 +00:00
Florian Westphal
1cf8ccd8fe
Make sure SimpleMessage() sends <= 512 chars
2005-06-12 17:21:46 +00:00
Florian Westphal
74424cb1a5
set 3 second penalty after failed /oper command.
2005-06-12 17:18:27 +00:00
Alexander Barton
5c20474fdb
Only register clients that have been connected at least 30 sec. in WHOIS database.
2005-06-12 16:39:42 +00:00
Alexander Barton
8b0ac2306e
Modified Conn_StartTime() to use information of the CLIENT structure.
2005-06-12 16:32:17 +00:00
Alexander Barton
5195555c5a
Removed CONNECTION[].starttime, now saved in CLIENT structure.
2005-06-12 16:28:55 +00:00
Alexander Barton
a4660f40db
New function Client_StartTime().
2005-06-12 16:18:49 +00:00
Alexander Barton
9fa9c1fdda
Updated manual pages.
2005-06-04 13:39:20 +00:00
Florian Westphal
cac9f279fa
send RFC compliant netsplit messages.
2005-06-04 12:32:09 +00:00
Florian Westphal
517321807e
Fix Handling of quit messages: always send only one QUIT message.
2005-06-04 11:53:24 +00:00
Florian Westphal
ae98008c1c
remove Try_Write(), Call Handle_Write() directly instead.
2005-06-04 11:49:20 +00:00
Alexander Barton
45404a1644
Added some Doxygen documentation.
2005-06-01 21:52:18 +00:00
Alexander Barton
50338126e0
Fixed handling of symbolic links as used in /etc/rc.X directories.
2005-06-01 21:51:11 +00:00
Florian Westphal
8ac701d6c8
add FreeRes_stat(), wait for resolver timeout.
2005-06-01 21:28:50 +00:00
Florian Westphal
158bf554c3
minor cleanup
2005-05-28 10:46:50 +00:00
Alexander Barton
9c3c7e5a09
Handle splint errors more gracefully.
2005-05-23 00:11:15 +00:00
Alexander Barton
cd0dc8627d
Don't exit server if closing of a socket fails; instead ignore it and
...
pray that this will be "the right thing" ...
2005-05-22 23:55:57 +00:00
Alexander Barton
44fdde7610
Added version information to summary text.
2005-05-21 21:34:47 +00:00
Alexander Barton
95f8b963a6
Reformatted and documented code of the first part of the IRC_NICK()
...
function; and register WHOWAS entries on nickname changes, too.
2005-05-17 23:24:43 +00:00
Alexander Barton
1aeaf64c66
New function Client_RegisterWhowas().
2005-05-17 23:18:54 +00:00
Alexander Barton
06caecb0c4
Implemented IRC function "WHOWAS".
2005-05-16 12:25:15 +00:00
Alexander Barton
b1c14598e1
New functions Client_GetWhowas and Client_GetLastWhowasIndex; new structure WHOWAS.
2005-05-16 12:24:31 +00:00
Alexander Barton
7f0d101184
New functions Client_GetWhowas, Client_GetLastWhowasIndex, and Register_Whowas.
2005-05-16 12:23:48 +00:00
Alexander Barton
9f247ebd5a
New defines MAX_WHOWAS and DEFAULT_WHOWAS.
2005-05-16 12:22:32 +00:00
Alexander Barton
dd9b4bc956
Away status texts set due to "a"-Modes received from other servers have
...
been fixed: the status text of the server has been set instead of the
away status text of the client (most probably introduced by patch 1.36).
2005-05-14 20:29:34 +00:00
Alexander Barton
6f97dd4938
Remove "doc/src" directory on "make distclean".
2005-04-27 07:52:29 +00:00
Alexander Barton
a02f25a810
Added #include of "defines.h", necessary due to removal of the #include of
...
"defines.h" in the client.h header file.
2005-04-27 07:46:50 +00:00
Alexander Barton
aa25cd7da2
Reorder #includes, necessary due to removal of #include "defines.h" in
...
the client.h header file.
2005-04-27 07:38:00 +00:00
Alexander Barton
70fcdf1b5c
Removed "invalid" #include of "defines.h" (don't include further header
...
files from a header file!).
2005-04-27 07:36:25 +00:00
Alexander Barton
dfe662ad45
Added missing #include of "defines.h".
2005-04-27 07:34:25 +00:00
Florian Westphal
7daa7fb278
removed Conn_UnsetOption() function. It was not used anymore.
...
removed Conn_SetOption(). replaced its only call (in conn-zip.c) with Conn_OPTION_ADD() macro.
2005-04-25 18:37:16 +00:00
Florian Westphal
e7c2c86aee
removed "my_connects" fd_set.
2005-04-23 14:28:44 +00:00
Florian Westphal
c4bc2114c9
conn.h: option filed in CONNECTION struct is now UINT16.
...
conn-func.h: add accessor Macros
Conn_OPTION_ADD( conn, CONN_OPTION )
Conn_OPTION_DEL( conn, CONN_OPTION )
Conn_OPTION_ISSET( conn, CONN_OPTION )
To add, remove or test for a certain option field attribute (e.g. CONN_ISCLOSING)
These Macros should be used instead of accessing conn->options directly.
2005-04-18 21:08:31 +00:00
Alexander Barton
129a22a29b
Cleaned up (and documented) the IRC_KILL() function.
2005-04-18 15:44:39 +00:00
Florian Westphal
8304210c06
fix spelling
2005-04-16 20:50:03 +00:00
Florian Westphal
aee48a3b38
added kludge to make ngircd (with syslog) compile on mips-dec-ultrix4.5
2005-04-16 09:31:30 +00:00