Commit Graph

  • 005af9c2c3 CString::Split(): Skip empty tokens at the beginning for bAllowEmpty = false psychon 2008-05-08 13:23:47 +00:00
  • 5665fd872d Update to latest Csocket psychon 2008-05-06 14:47:13 +00:00
  • 6857394d71 Remove CString::ToKBytes() psychon 2008-05-05 21:39:09 +00:00
  • 4ada00f542 Format traffic stats to not show bytes, but stuff like KiB and MiB etc psychon 2008-05-05 21:33:34 +00:00
  • 7d0314f416 *Always* forward our own nick changes to clients psychon 2008-05-04 14:55:21 +00:00
  • 311d20495f Call setsid() after forking psychon 2008-05-04 14:08:10 +00:00
  • 3775748270 watch: Remove the raw /watch command psychon 2008-04-30 14:09:15 +00:00
  • 3dd274f6a6 Make znc-buildmod report failures via exit code psychon 2008-04-29 18:29:59 +00:00
  • fe361f7a18 Display a better error message if znc.conf cannot be opened psychon 2008-04-29 12:15:48 +00:00
  • c4f1eb3da3 Print a warning if a msg / notice gets lost because we are not connected to IRC psychon 2008-04-25 16:30:11 +00:00
  • c0a91af22e Makefile.in: Use $(bindir) instead of $(prefix)/bin psychon 2008-04-25 16:27:00 +00:00
  • c64d7bc108 Force a space between if, for, while and ( psychon 2008-04-20 13:08:44 +00:00
  • b0a1714b86 Remove useless spaces inside of braces "( stuff )" psychon 2008-04-20 13:00:19 +00:00
  • 0470977497 schat: Use CString's features instead of strcasecmp and friends psychon 2008-04-20 12:39:21 +00:00
  • 5822a2de75 Fix the Makefile's dependency tracking psychon 2008-04-20 12:21:26 +00:00
  • 5c5cde9c34 Makefile: Always do dependency tracking psychon 2008-04-20 07:00:40 +00:00
  • 8d5fa6bc3b Break some way too long lines into way less long lines psychon 2008-04-18 09:25:28 +00:00
  • 011ddfe499 Fix some stupid bug which even GCC found and warned on psychon 2008-04-17 15:52:55 +00:00
  • 5f293039b5 Display better error messages if we can't connect to IRC psychon 2008-04-16 19:46:26 +00:00
  • 51dd3e2b32 Use unix EOLs (\n) instead of DOS ones (\r\n) for writing znc.conf psychon 2008-04-15 14:33:37 +00:00
  • 5a34291455 Shell: Don't send invalid nonsense like empty strings as ident psychon 2008-04-11 12:25:41 +00:00
  • 52f755f0fd Reuse the FD for locking the config for reading it psychon 2008-04-08 18:53:05 +00:00
  • 0afd0cf5dd Support channels other than #chan or &chan psychon 2008-04-08 08:21:40 +00:00
  • 5590307909 chansaver: Add all channels to the config when this module is loaded psychon 2008-04-07 20:19:17 +00:00
  • e24fdab787 Mark znc-config.in as executable, that way znc-config gets that too psychon 2008-04-05 17:09:30 +00:00
  • 654a55a507 Send PONGs for client's PINGs if we are not connected to a server psychon 2008-04-04 14:12:16 +00:00
  • 1f4963c452 extra line breaking shit, its not supposed to be there :P imaginos 2008-04-03 15:43:52 +00:00
  • f642a493a7 Fix configure on FreeBSD (It didn't find dlopen) psychon 2008-04-02 19:02:23 +00:00
  • 3583b4b5de fix state bug when connecting to a remote host thats ssl, results from a hostname that resolves to multiple ip's imaginos 2008-04-02 16:15:24 +00:00
  • 6d957ed93c Use MODFLAGS instead of CXXFLAGS for the modules psychon 2008-04-01 09:09:23 +00:00
  • 0a5d3013d2 Add OnTopic() module call psychon 2008-04-01 09:03:17 +00:00
  • 3be33dd6c8 Don't create empty .registry files for module data psychon 2008-04-01 09:01:55 +00:00
  • 58a6a8f0e8 The disconnected warning you get on-connect should *not* be broadcasted *fix* psychon 2008-04-01 09:00:21 +00:00
  • ffe31fccd2 Shell module: Also read incomplete lines (no trailing newline) and display them psychon 2008-04-01 08:59:13 +00:00
  • 617e732f66 Only allow admins to load the shell module psychon 2008-04-01 08:57:21 +00:00
  • cbdfaf0ed3 Make CModule::DelNV() return false if it didn't remove anything psychon 2008-04-01 08:55:44 +00:00
  • 9b757c6f6a CUser::Clone() didn't handle the JoinTries and TimezoneOffset options *fix* psychon 2008-04-01 08:53:57 +00:00
  • 73d8456dff Mark all FDs as close-on-exec psychon 2008-04-01 08:52:13 +00:00
  • e7bb3e5daa Remove an unused var from CClient psychon 2008-04-01 08:49:33 +00:00
  • 74447ee1d1 Increase the version number to 0.055 psychon 2008-04-01 06:24:38 +00:00
  • 66711fd746 Increase the version number to 0.054 znc-0.054 psychon 2008-04-01 06:17:59 +00:00
  • 493d515490 this should fix all the ipv4/ipv6 issues, tested it on fbsd and linux imaginos 2008-04-01 00:22:43 +00:00
  • a89fa4618d removing connect() completely. replacing with hint to AI_ADDRCONFIG imaginos 2008-03-31 06:15:28 +00:00
  • a91f86d1c2 commenting out this test for now imaginos 2008-03-31 04:53:21 +00:00
  • 3933f807df wasn't being to smart here, not totally portable when specifying IPPROTO_IP, use the protocol pass in for best portability imaginos 2008-03-31 02:37:34 +00:00
  • fc191e4908 state bug, from previous fix broken vhost binding imaginos 2008-03-30 16:28:44 +00:00
  • 1fb0039732 reverse the order of dns lookup on bind vs dns lookup on remote host. this also does a check on each ip returned by getaddrinfo to be sure its able to connect to that host imaginos 2008-03-28 05:09:48 +00:00
  • f9d12fb872 Fix a memory leak in CUser::Clone() znc-0.054-rc3 psychon 2008-03-24 22:24:15 +00:00
  • 246e71fe45 Fix a memory leak in rehashing psychon 2008-03-24 22:22:41 +00:00
  • acdd2c61b9 Fix for GCC 4.3 psychon 2008-03-22 20:10:39 +00:00
  • 54867320dc Fix sf bug #1915864 (patch from x-x) znc-0.054-rc2 psychon 2008-03-22 18:39:11 +00:00
  • 9c88a6aedf bug when trying to track down the right chat session imaginos 2008-03-18 15:14:23 +00:00
  • 2578384277 documented how to debug with valgrind imaginos 2008-03-18 03:00:03 +00:00
  • 20a970ae3d make sure these scalars are declared as mortals as to avoid a memleak imaginos 2008-03-18 02:30:42 +00:00
  • ed15b68684 possible memleak during onload bu pZNCSpace not being mortal imaginos 2008-03-17 19:51:58 +00:00
  • 322483ab8e decided to restore the config checking during rehash to original state. I came to what i figure is a good compromise which is to allow global modules to have config lines that are prefixed with 'GM:', thus allowing core config checking and allowing global modules to do their own config checking imaginos 2008-03-17 18:26:06 +00:00
  • 6f80fdd02f could be a global config line imaginos 2008-03-17 15:30:28 +00:00
  • fd614b5555 inverted condition, woops imaginos 2008-03-17 15:13:02 +00:00
  • 8873fbefa1 dont require .pm being in the mod name imaginos 2008-03-17 14:59:06 +00:00
  • a0b2a8fc2b changed (un|re)?loadmod to (un|re)?loadperlmodule imaginos 2008-03-17 04:22:49 +00:00
  • df1c36ca08 added back the ability for global modules to handle unhandled config lines imaginos 2008-03-17 04:21:53 +00:00
  • 835e78fdec added back in global module functionality of handling config lines dynamically imaginos 2008-03-17 04:20:35 +00:00
  • c73cb82006 added optional length to CaseCmp imaginos 2008-03-17 04:19:36 +00:00
  • d53fa7b85d throw an warning if package definition is not found imaginos 2008-03-17 02:40:38 +00:00
  • 7c56ddd603 Don't forward TOPIC changes for detached channels znc-0.054-rc1 psychon 2008-03-04 18:12:46 +00:00
  • f6d86fac43 Only save a single backup of the znc config file psychon 2008-03-01 16:30:08 +00:00
  • e0cfd7958e Add some currently missing commands to /msg *status help psychon 2008-03-01 16:22:28 +00:00
  • 7572c8e6a6 autoop: Add a define for the challenge length psychon 2008-03-01 09:44:09 +00:00
  • 262c7e01ed Some ftp clients skip empty files by default, so give install.sh some content psychon 2008-03-01 09:42:40 +00:00
  • 65c572fd38 Add --datadir to znc-config.in psychon 2008-03-01 09:31:25 +00:00
  • 973b41a99c Fix compilling modperl psychon 2008-03-01 09:29:26 +00:00
  • cb066e2425 Add OnRehashDone() module call psychon 2008-02-29 16:47:34 +00:00
  • ba619d0b3f Update to latest Csocket *again* psychon 2008-02-29 15:51:04 +00:00
  • 331f8b1e3a Update to latest Csocket psychon 2008-02-29 06:44:22 +00:00
  • 46f6651ba1 Try to get the user's home (~) from the env ($HOME) by default psychon 2008-02-21 16:40:14 +00:00
  • 3c5802271f One of last commits added some warnings due to -Wshadow which weren't fixed yet psychon 2008-02-19 20:30:24 +00:00
  • 8f22dcc60d Fix all those warnings from -Wshadow psychon 2008-02-19 20:25:21 +00:00
  • 0dfaa1d706 Add -Wshadow to our CXX flags psychon 2008-02-19 20:23:44 +00:00
  • 606f1978fa Added some svn:ignore rules prozacx 2008-02-18 09:16:49 +00:00
  • 0edf201efd Add /msg *status listavailmods psychon 2008-02-17 20:06:24 +00:00
  • 3f45131e58 autoop: Don't answer on too short challenges psychon 2008-02-17 12:23:26 +00:00
  • f74ab87e19 And fix a shitload of trailing whitespaces and space / tab mixups in ZNC psychon 2008-02-16 12:52:11 +00:00
  • be3edeee82 Update to latest Csocket psychon 2008-02-16 12:50:07 +00:00
  • 5a727a3953 There is no way stdout is a TTY after we forked, so don't pretend it is psychon 2008-02-15 19:15:44 +00:00
  • 4d7256350b x-x noticed the zncchk script doesn't exist anymore... psychon 2008-02-11 21:11:05 +00:00
  • 74623a9e5c Fix CLockFile's fd leak psychon 2008-02-11 21:01:50 +00:00
  • 8581b34778 Make /msg *status Jump / connect a no-op if the user has no server psychon 2008-02-10 17:50:37 +00:00
  • ef9018da7b Add a Rehash command to /msg *status psychon 2008-02-10 16:48:04 +00:00
  • cbb0fcf881 Only read from stdin if stdin is a TTY psychon 2008-02-10 16:46:28 +00:00
  • e326f6eb35 Rehash on SIGHUP psychon 2008-02-10 16:45:18 +00:00
  • 8e33a7370f Add rehashing psychon 2008-02-10 16:38:57 +00:00
  • bcb0306393 Don't allow users to change their user name through spoofed webadmin requests psychon 2008-02-10 10:18:54 +00:00
  • 9a1c3874bc Remove the pid file when ZNC exits psychon 2008-02-08 20:52:20 +00:00
  • f035753fc3 Also write a pid file when we were compiled with --enable-debug psychon 2008-02-08 16:37:43 +00:00
  • f495acd110 Make CFile::Delete() return a bool (true for success) psychon 2008-02-08 16:20:20 +00:00
  • 0adf4e5af3 Remove OnConfigLine() module call psychon 2008-02-07 22:25:58 +00:00
  • 64d6d0d5af Error if a channel is defined more than once psychon 2008-02-07 22:23:51 +00:00
  • c20f8427bb Start the connect user time in ParseConfig() psychon 2008-02-07 22:23:14 +00:00
  • 077b25e77d Move the check for listeners from main() to CZNC::ParseConfig() psychon 2008-02-07 22:22:03 +00:00
  • c6664d5ab9 Update to latest Csocket psychon 2008-02-07 17:22:36 +00:00