1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 20:26:39 +02:00

Commit Graph

  • a5206c33b9 Fix slight linking error in Visual Studio, spotted by Brandan. cyberbotx 2009-02-23 02:01:46 +00:00
  • 64fee38976 Backport fix in sgets which lacked FD_ZERO() call before FD_SET(). cyberbotx 2009-02-23 01:47:26 +00:00
  • 419b4c8002 Fix odd crash bug in the inspircd* modules by replacing use of myStrGetToken with spacesepstraem, also fix a problem on Windows with not having FD_ZERO in the sgets() function before FD_SET is called, both spotted thanks to Brandan. cyberbotx 2009-02-23 00:58:46 +00:00
  • 9123489c32 Added Anope.cmake, moving all my CMake macros into it. Fixed CMake error when CMake older than 2.4.8 is used, there is no 'touch' command in cmake -E, spotted by Adam. Fixed Config to auto-detect CMake and revert to configure if CMake isn't found. Fixed install.js on Windows to show errors in running CMake and detect if there were errors. cyberbotx 2009-02-22 22:25:15 +00:00
  • fa0d664063 Forward port of patch by DukePyrolator fixing memory leak on +beI modes. rburchell 2009-02-22 17:20:30 +00:00
  • c3f28223f8 Also allow RECOVER/RELEASE, reported by Adam and Raff7. rburchell 2009-02-21 22:19:40 +00:00
  • 8d05e8510f Allow NS GHOST from an unregistered sender, reported by Raff7. rburchell 2009-02-21 22:16:44 +00:00
  • 1707cf3dd3 Fix cs_access not displaying syntax errors and having a signed vs unsigned bug, spotted by Adam. cyberbotx 2009-02-21 01:25:37 +00:00
  • bb666ab902 Fix missing variable. rburchell 2009-02-19 21:59:56 +00:00
  • 7723437a81 Fix a few warnings. Also move split_usermask into cs_akick, as this is the only place it is used. rburchell 2009-02-19 21:59:31 +00:00
  • 805253de36 Preliminary support for a module source file (within src/modules) to include a comment saying it requires certain external libraries and having CMake search for the library automatically. Note: This sorta works for both *nix and Windows, probably *nix more-so than Windows, but this needs some cleaning up. It does work as is, though. cyberbotx 2009-02-19 04:03:13 +00:00
  • 40680e2535 Fix ns_update, thanks DP. Fix two compile errors. rburchell 2009-02-19 00:23:50 +00:00
  • c917ca5a34 Remove (and neuter) old event system. Not used by anything in core. rburchell 2009-02-19 00:23:14 +00:00
  • 23f5e9de79 Move last of events that are in the core distro over to newevents. rburchell 2009-02-19 00:22:46 +00:00
  • 6c1d764c4f Fix problems with registration being denied, thanks Adam. rburchell 2009-02-18 23:54:17 +00:00
  • 2b0914ae36 Add OnUserConnect event, mark OnSaveDatabase deprecated pending db redesign. rburchell 2009-02-18 23:48:46 +00:00
  • d20e4eb6ee Seems Changes entry didn't get committed. rburchell 2009-02-18 23:34:56 +00:00
  • e11b5b5ace Patch from DP, converting all match calls and removing old match method. rburchell 2009-02-18 23:34:32 +00:00
  • 4768beb328 Fix compile caused by careless backport, thanks DP. rburchell 2009-02-18 23:22:42 +00:00
  • 12cc633457 Add nickalias to build. Also stop sstrdup on args that seem to be NULL, it's getting ripped out anyway. rburchell 2009-02-18 23:01:43 +00:00
  • bcb857f118 Move EVENT_DB_SAVING to newevent. rburchell 2009-02-18 23:00:41 +00:00
  • 187c45059a Move assign and unassign to new events, allow for halting too should modules desire that. rburchell 2009-02-18 22:59:16 +00:00
  • 3fe5aa037a Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should. cyberbotx 2009-02-17 02:02:20 +00:00
  • 7af9e42d21 Hook events correctly in constructor. rburchell 2009-02-17 00:31:42 +00:00
  • abd083b1e3 Oops. rburchell 2009-02-16 23:49:38 +00:00
  • d07de70fc3 Move EVENT_RELOAD to OnReload. rburchell 2009-02-16 23:48:03 +00:00
  • c1c9e17d79 Move OnUserKicked to a module event. rburchell 2009-02-16 23:47:28 +00:00
  • ce3a04f0a8 Modevents, ported from insp. Typesafe (unlike the current ones), no double hashing overhead (faster), no useless memory allocations (copies of the args) rburchell 2009-02-16 22:59:59 +00:00
  • f756f2b394 Fix compile warning. rburchell 2009-02-16 22:59:36 +00:00
  • 7ea34be0b8 Fix output of reason in os_chankill when AddAkiller is used, spotted by DukePyrolator, thanks! cyberbotx 2009-02-16 22:08:45 +00:00
  • 6bd851a4d0 Replaced time_t with long in the ValueItem class, this was preventing building under FreeBSD. Works under FreeBSD and Linux now. cyberbotx 2009-02-16 20:35:56 +00:00
  • 8d90a23689 bleep. rburchell 2009-02-16 19:11:42 +00:00
  • ea45d96968 If you use finduser(), and then use the result, it helps if you actually finduser() to a pointer to save the result, doh. Thanks to DP! rburchell 2009-02-16 18:58:44 +00:00
  • 771eb5cf1f Fix wrong service listed in "to identify" rburchell 2009-02-16 16:18:24 +00:00
  • e1f80a1833 Prevent potential overflows of time values. rburchell 2009-02-16 15:08:42 +00:00
  • 0374d53d28 Add 'w' and 'y' support to dotime(), also prevent a possible overflow - thanks to DP. rburchell 2009-02-16 15:05:46 +00:00
  • 578755d627 Fix segfault on shutdown, thanks Ankit rburchell 2009-02-16 12:57:19 +00:00
  • 89ab54f0d7 Another segfault found by DP :P rburchell 2009-02-16 12:56:58 +00:00
  • 80de50711e Make DumpCore actually do something again. rburchell 2009-02-16 12:41:33 +00:00
  • 43bad5d4ae Default options::dumpcore to yes. rburchell 2009-02-16 12:32:27 +00:00
  • 0d86da4f5d Add Adam's pre-team contributions to Changes rburchell 2009-02-16 12:24:54 +00:00
  • caeebbfa6f Add contributions by DP to Changes. rburchell 2009-02-16 12:24:39 +00:00
  • 549e9446d8 Allow NS STATUS from unregistered users, thanks DP! rburchell 2009-02-16 12:24:17 +00:00
  • 14c2617e41 Move botserv/administration "metacommand" to a priv. What was I smoking when I wrote this? rburchell 2009-02-16 12:12:48 +00:00
  • 6112d479f9 Wild pointers do not a happy Anope make. Thanks DP :) rburchell 2009-02-16 12:12:26 +00:00
  • 04fe8e623c Allow NS REGISTER to unregistered nicks, silly oversight. Thanks DP! :) rburchell 2009-02-16 11:54:03 +00:00
  • c8422a6029 Fix call order, thanks to DP rburchell 2009-02-16 11:33:39 +00:00
  • 010c774bc2 Revert "Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c." rburchell 2009-02-16 09:17:24 +00:00
  • 22e8e87a00 Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c. cyberbotx 2009-02-16 06:19:37 +00:00
  • 15a2e1d4e4 The language strings of HelpServ had escaped me! But I hunted them down and now they are no more. cyberbotx 2009-02-15 23:57:25 +00:00
  • c5a376cbc8 Removed notice_user() and replaced all calls with Used::SendMessage. cyberbotx 2009-02-15 23:09:41 +00:00
  • 629422ed86 Remove nicktracking option, not used now. rburchell 2009-02-15 22:33:17 +00:00
  • d1611b640b Remove User::na, use User::nc everywhere. Will probably break everything, but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :) rburchell 2009-02-15 22:29:18 +00:00
  • 0e5b71923b Update TODO that HelpServ has been destroyed (although without the note of me getting +1000 points) cyberbotx 2009-02-15 17:58:37 +00:00
  • ba47bf2f6f HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function. cyberbotx 2009-02-15 17:47:52 +00:00
  • 330d9ee9e7 Add nickcore rburchell 2009-02-15 17:40:56 +00:00
  • d84701deec Switch to using u->nc, courtesy of Rob, this means admin privs won't mysteriously vanish on changing nick. rburchell 2009-02-15 15:25:14 +00:00
  • 38711cded6 Merge master into svsopers. rburchell 2009-02-15 15:24:51 +00:00
  • 550e371f10 Set required command string for botserv modules. rburchell 2009-02-15 15:24:35 +00:00
  • c8aae1c6ee Implement opertype methods for priv/command access. rburchell 2009-02-15 15:24:12 +00:00
  • 92170818ff Fix CFLAG_ALLOW_UNREGISTERED. rburchell 2009-02-15 15:23:57 +00:00
  • 0c985ee709 Check nick_identified() instead of u->na, as this may incorrectly treat people as identified. rburchell 2009-02-15 15:23:41 +00:00
  • f74036dc58 Set CFLAG_ALLOW_UNREGISTERED on commands which should be usable for unidentified users. rburchell 2009-02-15 15:23:26 +00:00
  • d121c4bd37 Add CFLAG_ALLOW_UNREGISTERED, commands without this flag will now not run for unregistered users. rburchell 2009-02-15 15:23:03 +00:00
  • 02452a0375 Split Command implementation from definition. rburchell 2009-02-15 15:22:40 +00:00
  • 8324379346 Can now correctly tie users to opertypes. rburchell 2009-02-15 15:22:20 +00:00
  • 855847f428 Shuffle shit around. rburchell 2009-02-15 15:21:55 +00:00
  • f07229a9ee Blah, blah.. rburchell 2009-02-15 15:21:35 +00:00
  • f92bf30f15 Fix compile error. rburchell 2009-02-15 15:21:06 +00:00
  • b10305ef3b Convert to use new, (drastically) faster matching algorithm, from InspIRCd. This adds Anope::Match(), and marks match_wild() and match_wild_nocase() deprecated. rburchell 2009-02-15 15:20:47 +00:00
  • e1828057c3 Add include/svsoper.h, add skeleton methods/doc. rburchell 2009-02-15 15:20:23 +00:00
  • bce21304f7 Add svsopers.cpp to build. rburchell 2009-02-15 15:19:57 +00:00
  • 2e75a5c4a4 Fix makefile, it's a cpp not a c. rburchell 2009-02-15 15:19:39 +00:00
  • 09dedba379 First stab at adding User::nc as requested! robbeh 2009-02-15 14:54:56 +00:00
  • 602b468efd Remove os_restart from the TODO, it was verified to work it just didn't like gdb. cyberbotx 2009-02-15 02:11:19 +00:00
  • 84d789c72b Replaced notice_lang with notice_help in all OnHelp() functions in modules. Also fixed a few smaller issues regarding the help in the modules. cyberbotx 2009-02-15 01:59:21 +00:00
  • 6d835a6e49 Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and small cosmetic fixes on a few other protocol modules. cyberbotx 2009-02-15 01:16:26 +00:00
  • 2c9f2eb991 Audited all src/modules/* and deleted bs_fantasy_unban (it was obsoleted). cyberbotx 2009-02-15 01:00:20 +00:00
  • 0717d63c75 Audited all remaining os_* modules, excluding os_restart (it causes a SIGTRAP that needs to be narrowed down). cyberbotx 2009-02-14 23:54:34 +00:00
  • bf020d8dfd Removed references to RAW in config and lang files. Kirby from Dreamland ate them, he was hungry. Probably wasn't good for his appetite, though. cyberbotx 2009-02-14 23:04:19 +00:00
  • 77174a7b4d protocol: split implementation from interface for cleaner code. rburchell 2009-02-14 22:41:40 +00:00
  • 214f6712fe Removed os_raw, it was never supported by the Anope team, and now it no longer exists. It is no more. (It might've been eaten by a Grue, I think.) cyberbotx 2009-02-14 22:38:08 +00:00
  • 71870e6667 applied patch from Adam to fix some potential screwups pimpmylinux 2009-02-14 16:12:35 +00:00
  • 0e991f0e72 Audited os_session with help from Adam. cyberbotx 2009-02-14 03:45:26 +00:00
  • 99967932a4 Audited os_global and os_modinfo, thanks to Adam for spotting and fixing these. cyberbotx 2009-02-14 03:18:38 +00:00
  • b167c89ca6 Audited os_akill, os_set, os_sgline, os_sqline, os_staff, and os_szline. cyberbotx 2009-02-14 03:08:25 +00:00
  • 4b291b12f8 Fix error when install directory in instal.js contains spaces, spotted by Rexona. cyberbotx 2009-02-13 17:47:08 +00:00
  • 1344bc5728 Move 1.9.0 TODO to Changes, as it's, er, done. rburchell 2009-02-13 17:44:53 +00:00
  • 4587546330 Pass the right array to do_umode(), fixes mode tracking on Unreal. Thanks to DukePyrolator (yet again :P) rburchell 2009-02-13 17:25:11 +00:00
  • 4e5c094033 Fix bs_set help, thanks to DukePyrolator! :) rburchell 2009-02-13 17:12:17 +00:00
  • 7633d9e248 Fix segfault, noted by DukePyrolator. Thanks! rburchell 2009-02-13 16:48:23 +00:00
  • a7855fd0ba Fix slist symbol mismatch. rburchell 2009-02-13 15:40:10 +00:00
  • 8d0aa3b589 Audit ns_*. rburchell 2009-02-13 15:39:55 +00:00
  • e616889a78 Fix part one of #1010, reported by DukePyrolator. (Language settings are not respected in message sending.) Thanks! rburchell 2009-02-13 15:39:33 +00:00
  • 4310c712c3 Fix memo sending causing crashes due to unresolvable symbol at runtime, mark ms_* as audited. rburchell 2009-02-13 14:23:13 +00:00
  • 45b4074e0d Two very small typo's in example.conf. sjaz 2009-02-13 06:27:11 +00:00
  • 2b0646a148 More fixes to bs_bot from Adam, plus an extra fix within DoAdd not covered in Adam's patch. cyberbotx 2009-02-13 04:07:07 +00:00
  • b9a80f28f7 Audited os_modload, os_modunload, os_shutdown, os_stats, and os_svsnick. cyberbotx 2009-02-13 03:44:51 +00:00
  • c78784ac28 Audited os_reload, os_umode, os_update, os_userlist, and ss_main. cyberbotx 2009-02-13 03:18:44 +00:00
  • 61cf1f325f insp12: don't try sstrdup() a NULL argument if sid is not set. rburchell 2009-02-12 22:34:34 +00:00