Commit Graph

  • 0ac3466f75 CBuffer: If the allowed buffer size is lowered, shrink the buffer psychon 2009-02-04 15:47:36 +00:00
  • 4dd8802bf9 shell: Use CString::Replace() -.- psychon 2009-02-03 19:43:35 +00:00
  • c7a98e7ec8 Make the shell module generate error messages if fork() or pipe() fail psychon 2009-02-03 19:42:40 +00:00
  • 607bb4e1ce Make webadmin handle HTTP requests to the IRC port psychon 2009-02-03 19:08:15 +00:00
  • ba5610654b Improve the error messages we give for failed connect attempts... again psychon 2009-02-03 18:21:33 +00:00
  • b17bfe7922 Make CFile::ReadFile() actually honour the max file size we give it psychon 2009-02-03 18:18:05 +00:00
  • d3392e7f50 Remove this unused definition of strcasestr() psychon 2009-02-03 18:15:56 +00:00
  • 649dca204f HTTPSock: Use TrimLeft() instead of a combination of Left() and LeftChomp() psychon 2009-02-02 15:24:48 +00:00
  • cd88623cbe Use find() instead of walking strings 'by hand' in IsValidHostName psychon 2009-02-02 15:23:03 +00:00
  • 422ab3288e Make CExecSock generate error messages if execvp() fails to find sh psychon 2009-02-02 15:20:44 +00:00
  • a6995ba59a Remove that useless and more or less unused enum for open() modes psychon 2009-02-02 15:03:32 +00:00
  • aba7ae9973 Remove CNick::Concat which isn't used anywhere psychon 2009-02-02 14:55:45 +00:00
  • 3f00b9ef60 Just. Do. Not. Ask. psychon 2009-01-29 19:59:02 +00:00
  • ed43e95216 Change the names of all the module entry points to be more ZNC specific psychon 2009-01-29 19:39:21 +00:00
  • 0f0463510c Some fixes to modperl, most notable no with time increasing memory usage psychon 2009-01-29 19:11:53 +00:00
  • 9a8fbdb6e0 Just ignore this psychon 2009-01-29 15:41:38 +00:00
  • f7825e0016 Make CFile::IsDir() work on those weird OS that don't like trailing slashes psychon 2009-01-29 15:39:26 +00:00
  • e6ede6decb Use O_BINARY when opening files if it is available psychon 2009-01-28 09:55:32 +00:00
  • 3ed2b755a3 CFile::TryExLock(): Add O_CREAT to the default parameters psychon 2009-01-27 19:56:05 +00:00
  • 7ef9f76bb0 Open the ISpoofFile with mode 'O_RDWR|O_CREAT' instead of '(int)true' psychon 2009-01-27 19:54:38 +00:00
  • 432a04e545 Add the necessary makefile magic for compiling on cygwin psychon 2009-01-26 19:57:34 +00:00
  • 177a5d24db Include Utils.h in less headers and move some code out of the header psychon 2009-01-25 20:07:14 +00:00
  • 235b10c200 Use that new define everywhere psychon 2009-01-25 16:51:54 +00:00
  • 8d8bbb0920 Add a DEBUG() define which can be used for outputting debug info psychon 2009-01-25 16:50:40 +00:00
  • 136a62707b savebuff: substr() could throw an exception, use Left() instead psychon 2009-01-25 15:33:47 +00:00
  • 48ee5c71c5 Check in CZNC::AddUser() if the username is still available psychon 2009-01-25 11:12:36 +00:00
  • 74f9f3e864 Savebuff: Don't reload old channel buffers psychon 2009-01-24 19:10:05 +00:00
  • 620c72a2ac Add a ModHandle typedef instead of using void* directly psychon 2009-01-24 09:11:50 +00:00
  • 7ab0b8d959 Make GetPass() return a CString instead of a char* psychon 2009-01-23 18:46:39 +00:00
  • a92694c471 Use unsigned int instead of uint in the one place where it is currently used psychon 2009-01-23 14:20:24 +00:00
  • fb54bc2fc4 Cleanup: Remove an unnecessary scope operator psychon 2009-01-23 13:50:53 +00:00
  • f4618594b6 Fix a bug where ZNC would fail to send out its own ip for DCC bouncing psychon 2009-01-22 17:52:35 +00:00
  • accb2e46c9 Check if lstat() is available and use stat() instead if it isn't psychon 2009-01-22 11:19:42 +00:00
  • 34337d7b76 Don't build the znc binary with position independent code psychon 2009-01-21 13:30:07 +00:00
  • 127347825e Remove CLockFile and let CFile do its job psychon 2009-01-20 13:21:29 +00:00
  • 6345ce12fa Make O_RDONLY the default mode when opening files through CFile psychon 2009-01-19 15:55:41 +00:00
  • 9210bdc97e Update to latest Csocket psychon 2009-01-18 10:32:16 +00:00
  • 3a2772eafa MD5: Dunno if this makes the code better or worse... psychon 2009-01-17 10:25:09 +00:00
  • 55fcaa9489 Watch: Add timestamps to the cached messages psychon 2009-01-16 11:36:27 +00:00
  • c44d3f1751 Use RTLD_NOW instead of RTLD_LAZY when dlopen()ing modules psychon 2009-01-15 18:56:36 +00:00
  • 2efea2157a webadmin: reload global modules whose settings were changed psychon 2009-01-14 15:17:30 +00:00
  • 6e880c5930 Remove maxlength="16" from the password input boxes in webadmin psychon 2009-01-13 17:10:05 +00:00
  • 45ae051e58 Move SetArgs above the OnLoad module calls so a module can reset the args. silverleo 2009-01-12 16:15:29 +00:00
  • a5f6bc3668 Makefile: Use @includedir@ instead of @prefix@/include psychon 2009-01-12 16:02:20 +00:00
  • abc0cf82c5 Handle JOIN redirects due to +L psychon 2009-01-11 08:47:27 +00:00
  • 7cb4c3fcc3 Some updates to the README file psychon 2009-01-10 10:12:10 +00:00
  • 9a3ff5f851 Update channel buffers for detached channels psychon 2009-01-09 17:22:15 +00:00
  • a3169af5bd Add CUtils::SaltedHash() for doing salted hashes and do some cleanup psychon 2009-01-08 15:57:32 +00:00
  • efcbf7884f Always allow /msg *status setbuffer <chan>, even if we are not in <chan> psychon 2009-01-07 17:38:49 +00:00
  • f5eff8196f Make CString::Trim*() faster psychon 2009-01-06 09:43:18 +00:00
  • 9933ba9c3e Use CString::TrimRight() to make this code more readable psychon 2009-01-05 11:45:12 +00:00
  • 607a7f1c16 Get rid of most strtoul() and atoi() calls and use CString's features instead psychon 2009-01-04 10:48:02 +00:00
  • cae48ab256 Add back substitute for @VERSION@ to configure psychon 2009-01-03 09:55:21 +00:00
  • 36505a8d29 access() is evil and we never want a controlling TTY psychon 2009-01-02 17:48:20 +00:00
  • 08ad0291ea Happy New Year 2009 everyone! psychon 2009-01-01 12:22:21 +00:00
  • 69279c516e Use fchmod() instead of chmod() if the file is already open psychon 2008-12-31 14:34:55 +00:00
  • 3538290068 Show client IP in debug when username is not available. silverleo 2008-12-31 13:49:29 +00:00
  • d84b9c6e9e Add OnUnknownUserRaw() global module call. silverleo 2008-12-31 12:22:38 +00:00
  • d6525a8efe Fixed awaynick so it doesnt evaluate the awaynick multiple times. Also fixed a timer problem if the client disconnected before the backnicktimer fired. silverleo 2008-12-30 23:17:50 +00:00
  • e16f744ed8 Allow custom compiler flags for znc-buildmod via environment variables. Patch from flakes. silverleo 2008-12-30 18:49:47 +00:00
  • b7f38c4d4a Remove some code duplications and move functions into classes psychon 2008-12-30 13:05:04 +00:00
  • fdb451a908 Show arguments used to load the module instead of the description in listmods. silverleo 2008-12-29 18:46:39 +00:00
  • cc3fcc17bb Block pong replies that we requested. silverleo 2008-12-29 18:43:47 +00:00
  • 05b259baef Append an * to the current server in *status listservers silverleo 2008-12-29 18:11:17 +00:00
  • 8728c994db Make CChan::AddNicks() easier to understand and probably a little faster psychon 2008-12-29 09:32:36 +00:00
  • 751f267f30 Improve CFile::ReadLine() a little psychon 2008-12-28 13:03:43 +00:00
  • fe86b92359 Use CSocket instead of Csock in the email module psychon 2008-12-27 09:06:49 +00:00
  • 1312e6512b Make watch save its settings and add CModule::ClearNV() psychon 2008-12-26 15:12:25 +00:00
  • 458baa17f5 Some cleanup and fixes to schat psychon 2008-12-25 08:48:59 +00:00
  • dd96f21d17 Make CNick smaller psychon 2008-12-24 10:34:07 +00:00
  • 7ba58aba72 Make CChan smaller psychon 2008-12-23 10:07:54 +00:00
  • acd854eb1c Remove virtual where it makes no sense psychon 2008-12-22 17:22:34 +00:00
  • fd5dd4c3b6 Don't append a slash to the paths returns from CZNC::Get*Path() psychon 2008-12-21 17:10:25 +00:00
  • 1785a03c71 Dont try to join our sticky channels when the irc connection is not available. silverleo 2008-12-21 09:05:16 +00:00
  • 110485eaaf Changed ping timers and timeout settings to use more reasonable values. Also changed timeout type for irc and client sockets. silverleo 2008-12-21 09:03:04 +00:00
  • de3fb7f3dc Fix breakage from last commit, hope no one noticed it yet ;) psychon 2008-12-20 20:21:14 +00:00
  • baab007f2b Allow adding a server multiple times if a different port or pass is used psychon 2008-12-20 19:59:36 +00:00
  • d254240866 Remove some unused code for ipv6 from CServer (and from CUser) psychon 2008-12-19 13:43:56 +00:00
  • 979f2651f3 Add some API to CModule psychon 2008-12-18 16:22:31 +00:00
  • 804b259f69 Fix a bug introduced in r1289 psychon 2008-12-17 15:36:47 +00:00
  • e493c23243 awaynick: Set awaynick on connect, not some time after that psychon 2008-12-14 20:27:36 +00:00
  • d97ef37d27 Bugfix: Only reply to a client's MODE request if we actually know the answer psychon 2008-12-13 17:01:55 +00:00
  • 4b1fbab6eb Remove CZNC::GetConfPath() and rework GetModPath() and GetUserPath() psychon 2008-12-12 15:38:57 +00:00
  • c03bd91589 Update to latest Csocket and use its new init interface psychon 2008-12-10 15:53:07 +00:00
  • 9bec4b8048 Fix a bug introduced in r1280 silverleo 2008-12-09 20:25:34 +00:00
  • 8db106bf6b Remove our only getcwd() call psychon 2008-12-07 14:18:23 +00:00
  • c7cf105e15 Add VERSION_MAJOR, too (for consistency) psychon 2008-12-06 21:13:14 +00:00
  • 79274a7a47 Add a VERSION_MINOR define which can be used in preprocessor comparisons. psychon 2008-12-06 20:19:10 +00:00
  • 08088be7d6 Add traffic tracking support to CSocket psychon 2008-12-06 19:56:38 +00:00
  • 03a13f6d51 Always show a message for active schat when a user reconnects psychon 2008-12-06 16:13:37 +00:00
  • 3c088134f5 Minor stylistic fixes for schat psychon 2008-12-06 16:07:00 +00:00
  • e6007747d7 Handle read errors in CFile::Copy() psychon 2008-12-06 14:49:56 +00:00
  • da4181617e Use RTLD_LOCAL instead of RTLD_GLOBAL when reading module descriptions psychon 2008-12-06 14:39:48 +00:00
  • 66a6f91116 Increase the version number to 0.063 psychon 2008-12-06 14:09:51 +00:00
  • 16aabebcbf Increase the version number to 0.062 znc-0.062 psychon 2008-12-06 14:07:00 +00:00
  • 80edd58f4f Rewrite the author file (= use a new format) psychon 2008-12-03 16:17:35 +00:00
  • d75a32d335 Use AC_PATH_PROG instead of using 'which' for finding perl psychon 2008-12-01 18:23:40 +00:00
  • 942eb63a7c Revert changes from rev1125 so we compile on fbsd 4.11 silverleo 2008-11-27 16:34:51 +00:00
  • 9952e8d2c5 Added OnTimerAutoJoin(). Patch from Freman. Thanks :) silverleo 2008-11-25 10:53:40 +00:00
  • c71565103c Added OnIRCRegistration(). Patch from Freman. Thanks :) silverleo 2008-11-24 17:56:34 +00:00