summaryrefslogtreecommitdiff
path: root/segfault.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fixed it *really*epoch2014-03-251-0/+5
|
* fixed a bug in libirc where pong was sending ping. dunno.epoch2014-03-251-18/+35
| | | | I don't remember what else I did.
* updated the function that converts tail modes to strings for !tailsepoch2014-03-171-65/+53
| | | | other general cleaning
* converted the alias system to use a hash table with linked lists insideepoch2014-03-141-144/+141
|
* made some stuff a bit prettier.epoch2014-03-021-31/+82
| | | | | added %m and segnick variable for self nick stuff you can use git diff for anything else.
* fixed some command conflict issues based on only checking part of a string.epoch2014-02-101-179/+66
|
* fixed a small bug in format_magic.epoch2014-02-091-2/+1
|
* added minimal startup scripts.epoch2014-02-091-7/+3
| | | | | | | | deleted a bunch of shit from compile.sh cleaned segfault a bit. made the shell script not auto-generated. everything expects /home/segfault/ to be where segfault gets ran. you have to do the chdir yourself now.
* upgraded format_magic() to hopefully be more compatible and less voodoo-y.epoch2014-02-091-1/+62
|
* first useful commit. hopefully it compiles...epoch2014-02-051-0/+1002