24 Commits

Author SHA1 Message Date
Stuart Henderson
1c7657c76e don't inline icb_ismod 2017-04-11 11:23:09 +01:00
Mike Belopuhov
e22d747f2b Improve groups list declaration 2015-04-24 16:41:02 +02:00
Mike Belopuhov
176b6efc59 Use new tokenizer to parse ICB commands 2015-04-22 19:28:54 +02:00
Mike Belopuhov
677a45b096 Remove group passwords and introduce new tokenizer 2015-04-22 19:28:48 +02:00
Mike Belopuhov
0519a8785b param.h and MAXHOSTNAMELEN cleanup 2015-01-18 21:46:13 +01:00
Florian Obser
e68221bca4 Check that the reverse resolved hostname resolves back to the
connecting IP.
2014-06-23 15:02:33 +02:00
Mike Belopuhov
120eedde50 prevent icbd_drop from freeing an icb session while dns is in progress 2014-06-17 13:46:35 +02:00
Mike Belopuhov
d45051e8e7 make sure to abort bufferevent processing after icbd_drop was called 2014-06-17 13:31:02 +02:00
Mike Belopuhov
7882a6f262 Get rid of the icbd callbacks interface
I believe the idea was initially to have both icb and irc in one
daemon but that's not going to happen.
2014-03-10 13:13:22 +01:00
Mike Belopuhov
dcbd425530 Remove the session tree 2014-03-09 16:10:52 +01:00
Mike Belopuhov
e87ab6d0e4 Convert DNS code to use ASR 2014-03-09 16:09:45 +01:00
Mike Belopuhov
82d3c1fc7b stat(2) the modtab every time pass is requested
plus some minor style changes
2014-03-07 18:37:37 +01:00
Mike Belopuhov
72898238c8 Change DNS resolver to ignore hostnames longer than 39 symbols and
prefer IP/IPv6 addresses instead;  substitute "localhost" with
"unknown".
2014-03-07 16:42:03 +01:00
Mike Belopuhov
a2fadb4bf6 Get rid of ICB_MSGSIZE+1, fix various off-by-ones and do some truncation
where necessary.
2014-03-07 16:21:30 +01:00
Mike Belopuhov
f3c60e6c62 After some deliberation we have decided that if modtab is enabled
then it should be possible to steal the moderation.
2014-03-06 16:30:44 +01:00
Mike Belopuhov
c9402c337d Rework bufferevent read code 2014-03-05 11:42:33 +01:00
Stuart Henderson
b7bc4329fe permit whitespace in topic, otherwise sanitize to _ 2014-03-04 23:17:15 +00:00
Mike Belopuhov
626f420e1c Add icb_vis to escape '%' chars and do some other sanitizing 2014-03-04 18:09:42 +01:00
Mike Belopuhov
fa271b86eb Introduce session IDs and associated tree linkage 2014-03-04 11:34:15 +01:00
Mike Belopuhov
1d2125a078 Add support for the moderator table that specifies (currently up
to 50) users that are allowed to become moderators.
2014-03-02 02:50:57 +01:00
Mike Belopuhov
4284008c22 Revamp "who" command handling; rename "moder" to "mod". 2014-03-02 02:50:39 +01:00
Mike Belopuhov
9195a6aa75 add a simple help command 2013-12-24 19:56:50 +01:00
Mike Belopuhov
bf02a602e1 add 'beep' and 'nobeep' support 2013-12-24 18:52:56 +01:00
Mike Belopuhov
cd7b81d00d move it to the github 2010-01-08 12:20:28 +01:00