Commit Graph

  • e1bf2d21ca Disconnect unauthed connections after a timeout of 60 secs psychon 2008-05-24 17:09:25 +00:00
  • 1e64901f0e Don't disconnect unauthed clients which use something else than PASS, USER or NICK psychon 2008-05-24 17:08:23 +00:00
  • daef16a3eb Replace CString::Token() with a rewritten version psychon 2008-05-24 17:05:07 +00:00
  • ce5dae0f2b Cleanup autoop a little psychon 2008-05-24 17:02:14 +00:00
  • b294891993 Don't allow users with 'DenyLoadMod' set to use 'ListAvailableModules' psychon 2008-05-24 17:00:10 +00:00
  • edb56b1660 Make it possible to add extra strings to the version number psychon 2008-05-24 15:29:52 +00:00
  • 40b7fdc471 Increase the version number to 0.057 psychon 2008-05-24 15:23:01 +00:00
  • 2081f9f3df Increase the version number to 0.056 znc-0.056 psychon 2008-05-24 15:20:58 +00:00
  • 3ee049bc5a Teach CUser::Clone() to also handle channel settings psychon 2008-05-21 14:22:20 +00:00
  • 2f1b5347c9 configure: Fix dlopen() detection psychon 2008-05-16 15:01:41 +00:00
  • 8ed7d8a2be make distclean: Also remove znc-buildmod psychon 2008-05-15 10:51:58 +00:00
  • 1d66187f09 Move znc-buildmod to znc-buildmod-in (See last commit) psychon 2008-05-14 17:45:50 +00:00
  • 97a85e399b Make znc-buildmod work with znc-config not in path psychon 2008-05-14 17:44:52 +00:00
  • a77de4ea65 CUser: Save CIRCSock* instead of looking it up every time psychon 2008-05-13 18:18:51 +00:00
  • 5ddf977b16 Fix CString::RandomString() to not insert NULL bytes in its result psychon 2008-05-12 19:35:15 +00:00
  • 4e6c6fea4a Cleanup CUtils::GetLongIP() psychon 2008-05-12 15:38:12 +00:00
  • bc2af5d49a Never link the ZNC binary against libsasl2 psychon 2008-05-11 18:32:17 +00:00
  • ff7a6c231a Remove some unneedef #ifdef's psychon 2008-05-10 15:09:46 +00:00
  • 7e34dd3bfa Use -Wno-unused-parameter instead of -Wno-unused psychon 2008-05-10 11:32:34 +00:00
  • ac2dc42f18 Make CString::RandomString() produce something more random psychon 2008-05-10 06:46:53 +00:00
  • dde7921e6c Remove OnRehashDone and add OnPre/PostRehash psychon 2008-05-09 14:48:06 +00:00
  • b16e3ebe6c Replace CDir::MakeDir() with a version that doesn't do chdir() psychon 2008-05-08 17:47:55 +00:00
  • 01bc68b1cb Move ChangeDir() and MakeDir() from CUtils to CDir psychon 2008-05-08 16:58:32 +00:00
  • 8c24ebb641 Webadmin: Remove the special rule for CVS and ignore .svn instead psychon 2008-05-08 13:45:16 +00:00
  • 8cf12e8931 Clean up FileUtils.h psychon 2008-05-08 13:32:34 +00:00
  • 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