Commit Graph

75 Commits

Author SHA1 Message Date
Hiltjo Posthuma
bb1e5569d0 allow some more characters in the channel name 2017-07-09 12:28:08 +02:00
Hiltjo Posthuma
704ab925e9 merge my changes to master
Special thanks to:
- Wolfgang Corcoran-Mathe for sending patches and testing.
- Nico Golde for maintaining ii for so long.
2017-06-02 09:54:54 +02:00
Nico Golde
714bd0cb6a define EXIT_TIMEOUT and use that on ping timeouts. thanks Evan Gates for the idea! 2016-10-13 15:21:47 -07:00
Nico Golde
f8f3a096bc errm eprint isnt declared here. thanks Ali H. Fardan 2016-09-07 21:17:12 +02:00
Nico Golde
584290f264 use pledge by default if compiled on openbsc and provide errno string 2016-09-06 19:58:28 +02:00
Nico Golde
a4434536cd fix double backslash 2016-09-02 18:43:08 +02:00
Nico Golde
18580a159f add OpenBSD pledge support - thanks Gleydson Soares 2016-09-02 16:13:43 +02:00
Vasily Kolobkov
f79e2f0953 Fix channel use after freeing in main loop
Signed-off-by: Nico Golde <nico@ngolde.de>
2016-02-24 23:02:19 +01:00
Vasily Kolobkov
165638e3c8 Check up on server messages
Signed-off-by: Nico Golde <nico@ngolde.de>
2016-02-24 23:02:13 +01:00
Nico Golde
1bc3e103c0 prevent nick collisions by only setting the nick after the server accepted it and print a message about change to server log 2015-11-04 19:35:23 -05:00
Nico Golde
63b5736e6e use _POSIX_PIPE_BUF if PIPE_BUF is not defined (as on FreeBSD); thanks Gleydson Soares! 2015-03-22 13:37:53 +01:00
Nico Golde
7a99152ce6 add respective header for select and not implicitely include it 2012-08-14 11:57:30 +02:00
Nico Golde
aed65ee703 convert slashes to , rather than _ in channel names. , is not allowed by the RFC, _ is. 2012-07-03 17:43:56 +02:00
Nico Golde
a5a7d1b376 fix parsing of JOIN messages for certain servers, thanks van Kanakarakis 2012-06-28 15:41:57 +02:00
Nico Golde
c68beccf59 -k now points to an environment variable containing the password 2012-06-16 17:00:31 +02:00
Nico Golde
2bcd27c9e8 a little cleanup by Connor Lane Smith, thanks! 2011-10-31 21:35:12 +01:00
Nico Golde
542bc7b5bf restructuring to stay under 500 lines ;) fix regression from 1.5 on handling unknown commands 2011-01-31 21:45:52 +01:00
Nico Golde
beb4661381 document implication of autojoin patch and now tag 1.5 for real :) 2011-01-24 17:52:35 +01:00
Nico Golde
e048dac3df minor changes, fix fd leak due to case insensitive channel name comparison, fix treatment of raw irc commands (thanks samurai) 2011-01-24 16:46:25 +01:00
Nico Golde
566fa01e47 create in FIFO on receiving a PRIVMSG 2011-01-24 16:13:04 +01:00
Nico Golde
36ec5bc425 - prepare 1.4 release
- fix directory traversal using #../../ (not possible to overwrite arbitrary files, thus not marking as security fix)
- general cleanup
- documentation fixes (url, copyright, formatting)
2008-08-09 13:45:46 +02:00
Nico Golde
081c33b786 fixed possible NULL pointer reference on sparc 2007-07-16 08:00:48 +02:00
Nico Golde
81ed7e3c15 workaround, server messages about users dont open a user directory anymore, output will be sent to the server out file 2007-07-14 13:11:09 +02:00
Nico Golde
cc58fcc068 changes for ii-1.2 2007-06-23 13:37:05 +02:00
nion@aurora
fcef69cf32 enabled joining channels with password 2007-06-22 13:40:24 +02:00
Nico Golde
ab89c0c4f5 regression fix 2007-06-12 11:05:33 +02:00
Nico Golde
1cf5526ce4 copyright adjustments 2007-04-28 18:01:28 +02:00
Nico Golde
debf23c6b5 fixed wrong parsing in commands like WHOIS and NAMES 2007-02-24 17:46:21 +01:00
Nico Golde
dd0fe21a09 initialization 2007-02-04 12:14:20 +01:00
Nico Golde
f927bae102 a bit of beautify 2007-02-03 17:35:16 +01:00
Nico Golde
4fcd8047d2 small adjustments 2007-02-03 13:36:39 +01:00
Nico Golde
f763ac712f SLOC -> LOC 2007-02-02 13:47:08 +01:00
nion@h4447.serverkompetenz.net
c8ea25a172 release prepared 2007-02-01 11:56:45 +01:00
nion@h4447.serverkompetenz.net
7e890e305d harden ii a bit 2007-02-01 11:21:52 +01:00
nion@h4447.serverkompetenz.net
e1af846735 use TOK_CMD more safely 2007-02-01 11:04:47 +01:00
nion@h4447.serverkompetenz.net
62963ef5b6 indent stuff 2007-02-01 10:59:36 +01:00
nion@h4447.serverkompetenz.net
c1e10adfad indents 2007-01-30 20:35:48 +01:00
Nico Golde
8f78d60c5b fixed fd exhausting 2007-01-30 20:34:23 +01:00
Nico Golde
8fd4887ddb bugfix if fd is NULL 2007-01-29 21:01:36 +01:00
Nico Golde
44587107ff right fix at the wrong place reverted 2007-01-29 13:48:15 +01:00
Nico Golde
500e03ff90 small fix 2007-01-29 13:35:55 +01:00
nion@localhost
eee0f4e6b8 Nico Golde:
small fix by Adrien Krunch Kunysz
2007-01-16 15:30:30 +01:00
nion@localhost
cf1f7a56b4 compatibility for bitlbee and stuff 2006-11-07 20:21:24 +01:00
nion@h4447.serverkompetenz.net
c6a91cf07a add date to timestamp 2006-07-09 20:41:28 +02:00
nion@localhost
4c4403721f ein libcall weniger 2006-06-17 21:59:08 +02:00
nion@localhost
da44526c53 kacke 2006-06-16 16:12:01 +02:00
nion@localhost
e6b37754ea headers swapped 2006-06-16 14:41:14 +02:00
nion@localhost
ec0b060d27 query and join are now the same 2006-05-28 00:46:35 +02:00
kai@dings.kai
867ec641ec Do not write PONG answers in the logfile 2006-03-16 16:55:11 +02:00
kai@dings.kai
6da9075130 Use PING command to detect stale connection to server
This is a very simple PING/PONG implementation for detecting stale
server connections.

PINGS will be send 120 seconds after the last user/server traffic
arrived.

As PONG counts everything that comes back from the server.
2006-03-16 16:54:00 +02:00