Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dont close unix socket til after message is read | Natanael Copa | 2015-06-19 | 1 | -16/+23 |
| | | | | | we need check POLLIN before POLLHUP so we dont close the connection before we got the message. | ||||
* | handle irc server disconnects better | Natanael Copa | 2015-06-19 | 1 | -9/+19 |
| | |||||
* | don't join channels til we are authed | Natanael Copa | 2015-06-19 | 1 | -4/+9 |
| | |||||
* | irc: pass username option | Natanael Copa | 2015-06-19 | 1 | -4/+3 |
| | |||||
* | fix various compiler warnings | Natanael Copa | 2015-06-19 | 1 | -3/+4 |
| | |||||
* | fix compile warning about header include of sys/poll.h | Natanael Copa | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | fix -u option to set user | Natanael Copa | 2014-09-08 | 1 | -1/+4 |
| | | | | Make it correspond with the help text | ||||
* | add support for 'multimode' | Natanael Copa | 2013-03-08 | 1 | -7/+22 |
| | | | | | we append nick to pidfile and connection socket so we can run multiple instances of sircbot on same machine. | ||||
* | add -N option to disable running hooks and fix help message | Natanael Copa | 2013-03-08 | 1 | -3/+11 |
| | |||||
* | move disconnect to separate func | Natanael Copa | 2013-03-08 | 1 | -6/+10 |
| | | | | slightly cleaner code | ||||
* | fix another segfault | Natanael Copa | 2013-03-08 | 1 | -4/+6 |
| | | | | user or data might be null | ||||
* | fix segfault when IRC server does disconnect | Natanael Copa | 2013-03-07 | 1 | -17/+28 |
| | | | | and fix lots of whitespace damage | ||||
* | use unix domain socket instead of fifos | Natanael Copa | 2010-09-10 | 1 | -144/+289 |
| | |||||
* | handle POLLHUP from fifos | Natanael Copa | 2010-06-29 | 1 | -3/+14 |
| | | | | | when process that writes to fifo exits, the fifo is closed. We handle this by just re-opening it. | ||||
* | increase read buffer | Natanael Copa | 2010-06-29 | 1 | -1/+1 |
| | | | | | we dont handle situations where read input is bigger than buffer. for now we just increase the buffer size. | ||||
* | logfile support | Natanael Copa | 2010-06-29 | 1 | -5/+9 |
| | | | | Add support for logfile via -l option. | ||||
* | version 0.1v0.1 | Natanael Copa | 2010-04-06 | 1 | -1/+1 |
| | | | | we include version number in binary | ||||
* | fix fd leak | Natanael Copa | 2010-04-06 | 1 | -1/+2 |
| | | | | we only create the fifos when our own nick is joined | ||||
* | do not logout on POLLHUP from fifos | Natanael Copa | 2010-03-04 | 1 | -3/+4 |
| | |||||
* | avoid send a "join" flood | Natanael Copa | 2010-03-03 | 1 | -3/+10 |
| | |||||
* | check POLLHUP/POLLERR separately | Natanael Copa | 2010-03-03 | 1 | -1/+9 |
| | |||||
* | fix kick handling | Natanael Copa | 2010-03-03 | 1 | -0/+3 |
| | |||||
* | handle to get kicked out from a channel | Natanael Copa | 2010-03-03 | 1 | -8/+28 |
| | | | | wait 5 seconds before joining again | ||||
* | also listen to POLLHUP and POLLERR | Natanael Copa | 2010-03-03 | 1 | -8/+14 |
| | |||||
* | implement -r <flushrate> option to set the rate the data is flushed | Natanael Copa | 2010-01-21 | 1 | -3/+8 |
| | | | | This is to avoid getting kicked out for flooding the channel. | ||||
* | dont send more than one line per second to any channel | Natanael Copa | 2010-01-09 | 1 | -20/+80 |
| | | | | | | We want avoid getting kicked out for flooding channels, so we read from he FIFO and store data in a queue. We then flush the queue, line by line each second. | ||||
* | initial commit | Natanael Copa | 2009-12-29 | 1 | -0/+378 |