summaryrefslogtreecommitdiff
path: root/segfault.c
Commit message (Collapse)AuthorAgeFilesLines
* added ability to have raw tails (both formatted, and non formatted). fixed ↵epoch2020-01-091-94/+247
| | | | how tails are opened so only named pipe tails need to be opened RW. added a %? format magic so you can see the list of defined format magics
* changed libline stuff to idc due to renaming "upstream" and got rid of some ↵epoch2019-06-241-11/+18
| | | | ugly "magic" and added a magic for the current server's fd
* re-enabled access control and disabled addserverepoch2019-06-081-2/+2
|
* added new tail mode to prevent double-opening. multi-server support is being ↵epoch2019-06-081-27/+70
| | | | worked on
* handfuls of things to try to get the tails all working goodepoch2019-05-311-8/+22
|
* oh god. lot of terrible shit.epoch2019-05-261-52/+96
|
* fix a bunch of format strings and do type castings to get -Wall to hush. ↵epoch2019-05-141-19/+22
| | | | also comment out some unused variables.
* big commit. added commented out peek/poke, putenv, access whitelisting, ↵epoch2019-05-141-9/+47
| | | | switched to use args when format_magic()ing, q and Q format magic was failing so added another check.
* added ability to reference environment variables from format magic. removed ↵epoch2019-04-071-32/+43
| | | | !chat bullshit. made a successful message_handler not fallback to a generic action handler
* cleaned up some loose whitespaceepoch2019-03-311-5/+3
|
* fixed a bug where I free()d the wrong thing in format_magicepochqwert2019-03-121-60/+118
|
* fixed the lambda stuffepochqwert2017-03-191-10/+6
|
* made some special handler aliases prefix with ; instead of nothing to help ↵epochqwert2017-01-221-4/+4
| | | | prevent accidental usage
* added a workaround to get it to build on linuxepochqwert2017-01-091-0/+1
|
* added ability to make segfault only speak when spoken to.epochqwert2017-01-091-3/+17
|
* added %A to be \x01 in format_magic()epochqwert2016-10-061-3/+13
| | | | made message_handler trigger on NOTICEs too.
* added support for s/derp/merp/ command.epochqwert2016-08-161-48/+60
| | | | | changed format_magic to use something less insane. fixed 'Nick: command' type of command calling.
* added casting of void * to free macro to fix warns.epochqwert2016-07-251-46/+46
| | | | | removed trigger character added revenge in commented code
* added some malloc checks and other small things.epochqwert2015-12-071-36/+56
|
* fixed the %N bug. few other minor things.epochqwert2015-08-121-21/+49
|
* added %q and %Q if you want your strings passed from segfault to be shell ↵epochqwert2015-07-151-8/+56
| | | | escaped.
* fixed a crash in !builtins and !aliases due to... something.epochqwert2015-05-181-6/+12
|
* fixed small change in Makefile and segfault.cepochqwert2015-05-141-4/+8
|
* moved libhashtable and libirc into their own repos.epochqwert2015-03-311-78/+31
|
* added a function to deleted an individual key:value in libhashtableepochqwert2015-03-281-28/+30
| | | | | added a function that does line cutting to libirc (and its prototype in the header) made segfault take advantage of the new cutting function.
* an upgrade to link.c to allow keys in channels.epochqwert2015-03-121-3/+16
| | | | | segfault fixed to set tailf[i].to=0 in more cases so it can be tested. don't remember what changes were made to libirc.c
* fixed support of optional : before channel name when parsing JOIN messages ↵epochqwert2015-03-081-1/+1
| | | | from server.
* added a linkbot example to libirc, bunch of random shit in segfault I guess. ↵epochqwert2015-03-081-46/+32
| | | | I don't remember. I should commit more.
* took out startup_stuff because server messages can be handled now. !alias ↵epochqwert2015-02-071-68/+43
| | | | !004 !raw join #defualt or whatever you want the bot to do.
* a round of warnings on Linux fixed.epochqwert2015-02-041-3/+1
|
* I don't remember.epochqwert2015-02-041-130/+234
|
* added some deletion stuff to libhashtable and made segfault have a coupleEpoch Qwert2014-11-081-15/+28
| | | | | function to delete his two hashtables and reinitialize them. they aren't builtins as default but can be added with !builtin. :)
* made some new messages debug messages. fixed... fuck. I forgot. check the ↵Epoch Qwert2014-10-261-10/+25
| | | | diff. you know how to read source code. :P
* Made segfault compile without warnings again. This time with -std=c99. You ↵Epoch Qwert2014-10-261-94/+159
| | | | know how to read Makefiles.
* made changetail also go by inode when matching for tails to change.Epoch Qwert2014-09-221-1/+5
|
* deleted the compile.sh shit. using makefiles now.Epoch Qwert2014-09-221-20/+25
| | | | | | added %~ to point to the bot's cwd. updated README to include useful info about env vars he uses. fixed runme.sh to use libhashtable's directory in LD_LIBRARY_PATH
* did the TODO of making builtins use a hashtable.Epoch Qwert2014-09-151-160/+173
| | | | | | added two commands for dealing with them. if you want you can override builtins for security reasons? :) added a small program for doing tail -f for systems that may not have tail -f
* took the hashtable stuff out of segfault and put it into a library. good ↵Epoch Qwert2014-09-071-150/+43
| | | | idea? dunno.
* fixed the rand() seeding to use pid too so bots started in the same second ↵Epoch Qwert2014-08-261-9/+15
| | | | | | don't generate the same random nick. made shell use pkill stuff instead of kill `pgrep stuff`
* fixed shitty #define MYUSEREpoch Qwert2014-08-251-2/+3
|
* fixed the weird use of a?:b; in two places.Epoch Qwert2014-08-251-2/+2
|
* forgot in last commit: changed up some of the line handler's parsing.Epoch Qwert2014-08-251-6/+4
| | | | added echo detection for odd IRC servers that send the message back to sender
* fixed an off-by-one bug I didn't notice until testing with URCD.Epoch Qwert2014-08-251-39/+89
| | | | | | moved startup_stuff to until after it gets a 004 message. auto-renicking when collision occurs. made it easier to make it run segfault with non-default stuff. grep getenv
* added a struct for user data. added %h and %n for host and name for aliases.Epoch Qwert2014-08-151-51/+67
|
* added nick globbing for easier control of many bots at once.Epoch Qwert2014-08-101-6/+10
|
* Added a user char * to the tail struct to keep track of who set it.Epoch Qwert2014-08-031-14/+37
|
* added some other bugfixes. hashing, seg-as-client stuff... I dunno.Epoch Qwert2014-07-261-10/+19
|
* various silly things.Epoch Qwert2014-07-261-30/+46
|
* Stuff!Epoch Qwert2014-07-231-10/+28
|
* first commit from new setup. don't remember what I changed.epoch2014-06-301-6/+26
|