Commit Graph

  • 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
  • f4e36a0b17 Enable IPv6 support by default silverleo 2008-11-20 11:45:51 +00:00
  • 62b57965cd This fixes a compile error with gcc 4.4 noted in debian bug report #504946 silverleo 2008-11-11 09:44:14 +00:00
  • be72295337 Fix --disable-modules, someone forgot an #ifdef :( psychon 2008-10-31 19:10:51 +00:00
  • a10acfeddc Seems like someone messed up when touching configure.in, fix psychon 2008-10-30 17:11:55 +00:00
  • db21f88584 Rename OnUserAttached and OnUserDetached and add OnClientConnect psychon 2008-10-29 17:26:30 +00:00
  • e85ed684ea Some member vars of CWebAdminMod should really be local vars to OnLoad() psychon 2008-10-28 17:21:53 +00:00
  • dfaa0c34fc Fix the behaviour change of the last commit psychon 2008-10-27 19:34:03 +00:00
  • b312a64c9d Partyline: clean up when a force-joined user is deleted psychon 2008-10-27 19:21:08 +00:00
  • 94f6e2cf79 Change OnStatusCommand to use non-const variable like most of the EModRet modulecalls silverleo 2008-10-26 19:47:17 +00:00
  • 1701b39399 modperl: Show the actual compiler flags and get rid of the warnings psychon 2008-10-26 18:58:13 +00:00
  • d57f706523 Make schat's showsocks module admin-only psychon 2008-10-24 17:12:06 +00:00
  • 680127165a Improve webadmin's error messages psychon 2008-10-23 15:20:09 +00:00
  • 90cf81e686 Make ZNC compile on Mac OS out of the box psychon 2008-10-22 19:40:51 +00:00
  • ecd50392ab Support out-of-tree builds psychon 2008-10-21 17:41:52 +00:00
  • ce31b29b68 Some changes to the vhost interface from *status psychon 2008-10-20 13:00:54 +00:00
  • fa2a9819d0 Add znc-config --cxx and use it in znc-buildmod psychon 2008-10-19 16:31:26 +00:00
  • b94e784301 Really use relative URLs in webadmin psychon 2008-10-18 12:51:25 +00:00
  • aca6783f6f Use relative instead of absolute URLs in webadmin psychon 2008-10-17 16:27:18 +00:00
  • f8462bffdd Fix webadmin to work with symlinks in the skins directory. psychon 2008-10-16 18:11:18 +00:00
  • 9c4a5a1d90 Some tweaking and cleaning up to configure.in psychon 2008-10-15 18:36:08 +00:00
  • 133c8fcb8a nickserv: Auto-save passwords when they are set and remove the 'show' command psychon 2008-10-14 17:28:10 +00:00
  • 2216c93e40 Catch 'throw UNLOAD' in the OnBoot module hook psychon 2008-10-13 18:53:43 +00:00
  • 90ecce7880 Make httpsock (and thus webadmin) support client side caching of static files psychon 2008-10-12 15:49:03 +00:00
  • 2db68c519b Rewritten and enhanced module simple_away. kroimon 2008-10-12 12:09:35 +00:00
  • 4bd90ab9df Make --makeconf check for znc.pem and generate it if it's missing psychon 2008-10-11 15:43:30 +00:00