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

Commit Graph

  • e514a3793d Changed the mode param handling code to be more into the general mode handling code, this cleans up and fixes some small problems with mlocking params. This also helps clarify that the ChannelInfo mode functions are for mlock only. Also, this adds the OnMLock and OnUnMLock events which can be used to control if something can be (un)mlocked Adam- 2009-11-19 01:53:03 +00:00
  • 68381e69d9 Fix compile errors on some compilers that did not like our overloaded operators << on std::ostream Adam- 2009-11-19 01:52:52 +00:00
  • aa421772e0 Make the correct folder be chmod'd on a *nix install of the tools directory (we got rid of installing the tools to a tools directory a long while back, now they go in the bin directory instead) cyberbotx 2009-11-18 13:02:22 +00:00
  • 5179a0a40f Delete the correct entries from akick and badwords list when given a numlist Adam- 2009-11-18 02:51:46 +00:00
  • da8a1c7b60 Remove some CoreExports and add them in other places, fixed a few minor warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time). cyberbotx 2009-11-18 01:05:12 +00:00
  • e10fe1cd76 Removed some unnecessary casts, used C++-style casts over C-style casts, fixed a few warnings (one possibly fatal one). cyberbotx 2009-11-17 04:04:24 +00:00
  • 88330c07ad Cleand up alot of the code in bs_badwords, made it much more C++-ish Adam- 2009-11-17 03:15:31 +00:00
  • 88c0edc8f8 Fix the EXTRA_CONFIG_ARGS part of Config so it actually gets used, and doesn't get clobbered on no input. cyberbotx 2009-11-16 12:59:31 +00:00
  • d82771900e Made the 'Module compiled against current version of Anope' message debug only Adam- 2009-11-16 02:38:46 +00:00
  • 7eadde9911 Possible fix for header dependency calculation causing CMake to freeze due to recursive including, fixed by removing my code to do that and letting CMake figure this out on it's own. Seems to work here, but might need testing still. cyberbotx 2009-11-15 21:14:11 +00:00
  • 8e8a1d96e4 Fixed potential segfault when deleting users from the access list by number, reported by Cronus Adam- 2009-11-14 05:10:34 +00:00
  • 842b5609dc Updated docs dir, specifically the IRCD and EVENTS file to be up to date with 1.9s new systems Adam- 2009-11-13 23:52:37 +00:00
  • 960968b8cd Made /nickserv group work properly with the new account system Adam- 2009-11-13 02:56:47 +00:00
  • 9c6576f78e Fix bug introduced in r2574 that would set passwords incorrectly when using enc_none Adam- 2009-11-12 02:52:27 +00:00
  • 65628dfdec Fix default OnSyntaxError subcommand to be the last param if its size is less than the minimum required for the command Adam- 2009-11-12 00:28:09 +00:00
  • 848c0aaa21 Made Command::Execute's params const Adam- 2009-11-12 00:28:05 +00:00
  • d16f4930f4 Made Command::OnSyntaxError accept a subcommand parameter, we now give syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command Adam- 2009-11-11 23:43:02 +00:00
  • 30b7e50a43 Replaced all of the char* params in cs_set with ci::string so we dont use stricmp all over, and updated coding style Adam- 2009-11-11 07:57:03 +00:00
  • 0264072b53 Made disabling chanserv levels *really* disable them so noone can use them (even founder), and have the ability to set it to 10000 for founders. Adam- 2009-11-11 07:20:44 +00:00
  • 0bd3141407 Made DefCon not use a ChannelInfo structure for saving its modes & params, it was ugly Adam- 2009-11-11 06:03:40 +00:00
  • b9190ebc16 Moved alot of stuff to constructors and destructors, instead of having functions everywhere to create and destroy objects Adam- 2009-11-11 06:03:25 +00:00
  • 86e43f1f14 Added support for permanent channels. This supports both permanent channel modes and the ability to have BotServ bots stay in the channel to keep it open. Adam- 2009-11-11 02:47:05 +00:00
  • 9d37cf1d5a Made the Module::ServHelp() functions part of the event system Adam- 2009-11-08 23:43:51 +00:00
  • 458be36a32 Rewrote all of the old C style flag systems into a new Flag class which everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it Adam- 2009-11-08 20:06:21 +00:00
  • 38ad96c57c Fixed /chanserv help forbid to allow you to forbid unregistered channels Adam- 2009-11-08 19:53:05 +00:00
  • 1c1312624d Rewrote BuildStringList to use std::list instead of char** Adam- 2009-11-08 18:00:54 +00:00
  • 608b63d979 Make CMake ignore the CMakeFiles directory, really only applies to Win32 build since it still allows in-source builds (unlike the *nix build). cyberbotx 2009-11-08 15:42:38 +00:00
  • 9047b0347d Made mlock_on, mlock_off, access, and akick private in ChannelInfo Adam- 2009-11-07 21:46:58 +00:00
  • 029f39964b Rewrote all of the akick code to be much cleaner Adam- 2009-11-07 18:09:09 +00:00
  • 2ec83162d6 Added src/regchannel.cpp and moved the code from include/regchannel.h there Adam- 2009-11-06 02:46:29 +00:00
  • 3317f406d2 Added /chanserv access view, which shows the access creator and last time used Adam- 2009-11-06 02:08:15 +00:00
  • 95a017db9f Dont allow sending empty mode strings in check_modes Adam- 2009-11-05 13:35:09 +00:00
  • 187868def9 Removed trailing -'s on mode strings sent in check_modes Adam- 2009-11-05 03:32:33 +00:00
  • 154b0ded37 Rewrote part of check_modes to keep it from sending empty mode strings Adam- 2009-11-04 23:28:40 +00:00
  • 3125c632b5 Made the -nothird optopn work Adam- 2009-11-04 00:34:57 +00:00
  • fdcc5b5ee1 Added missing entry to version.log. jantje_85 2009-11-03 14:19:38 +00:00
  • 921ddbd517 Added OnPreNickExpire and OnPreChanExpire events, which can keep nicks and channels from expiring Adam- 2009-11-03 02:05:45 +00:00
  • 65deeaf1e6 Moved some of the news variables out of the news module so other modules etc can access them, if needed Adam- 2009-11-03 02:05:38 +00:00
  • a1fe864c7f check for umode +r before sending svsmode -r DukePyrolator 2009-11-02 06:04:27 +00:00
  • 9a0b1efc24 added a way to load multiple encryption modules at the same and to switch between encryption methods DukePyrolator 2009-11-02 05:22:35 +00:00
  • 4f438917f1 All usermodes are now recognized and properly set internally on Insp 1.2. jantje_85 2009-10-30 20:45:16 +00:00
  • d2362719b2 Made do_nick return the user if I_OnPreUserConnect halts it if the user still exists, and removed unused defcon language string Adam- 2009-10-30 17:13:50 +00:00
  • 987f371c0b Removed channel passwords and added /chanserv QOP command to add additional channel founders, aswell as access level 10000 Adam- 2009-10-30 02:38:06 +00:00
  • 250aecb683 More dynamic detection of channel modes on InspIRCd 1.2. Also fixes params being linked to the wrong mode. jantje_85 2009-10-30 02:03:57 +00:00
  • 6a9fa9f4d2 Rewrote all of the defcon code, and moved most of it to os_defcon. This fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things Adam- 2009-10-30 01:04:13 +00:00
  • 5fc268b750 Added I_OnPreUserConnect, I_OnUserModeAdd, and I_OnUserModeAdd events Adam- 2009-10-30 01:03:54 +00:00
  • 5b62682223 Changed the "nickserv/confirm" opertype command to a permission, and added "nickserv/drop" permission used to drop other users nicks Adam- 2009-10-29 00:44:26 +00:00
  • 0b64cbc1d2 renaming to guestnick was not working properly DukePyrolator 2009-10-28 22:12:36 +00:00
  • fa622b4e9f Remove NickServ timers from TimerManager if we need to delete them, not just from NickServs timers - Fixes segfault reported by phantomal Adam- 2009-10-28 15:12:47 +00:00
  • 52593ef71b Cleaned up some of the code in my last commit and made it a bit more consistant.. probably should have done this before but owell Adam- 2009-10-27 13:19:01 +00:00
  • 9e48e683e7 Fix bug #1111, BS KICK should properly handle the CAPS, FLOOD, and REPEAT options now. cyberbotx 2009-10-27 11:52:51 +00:00
  • c64c2b6fd0 Rewrote part of chan_set_correct_modes and set Mode::ModeChar correctly Adam- 2009-10-27 01:42:10 +00:00
  • a491eed3ff Added MinusNoArg to insp modes Ffj and unreal mode j Adam- 2009-10-25 14:32:38 +00:00
  • a43424dbb9 Added internal tracking of InspIRCd1.2 channel modes BFfjMPT and user modes BcdGHIkQRSW, also added tracking of Unreal3.2s channel mode j Adam- 2009-10-25 06:32:47 +00:00
  • 13f92e03be Document /ns confirm nick in /ns help confirm for services operators Adam- 2009-10-25 04:13:07 +00:00
  • 6e3aa36876 Fixed passing invalid channel pointer to OnPartChannel if the last user in a channel parted, now we use NULL and just give it the channel name Adam- 2009-10-25 04:12:54 +00:00
  • 7a429517af added options:enablelogchannel config file option, which turns on the logchannel on startup. yay! Adam- 2009-10-25 04:12:47 +00:00
  • 0e8de37778 Rewrote part of news system and moved it all to os_news.c. Removed src/news.c Adam- 2009-10-25 04:12:34 +00:00
  • 338cb38ee8 Added 4 new events for (un)setting modes on channels and users Adam- 2009-10-25 04:12:21 +00:00
  • 8330009373 Actually use the I_OnRestart event Adam- 2009-10-25 04:12:13 +00:00
  • 5ab705b6fe Fixed memos so identified users not on the nick's access list can send them Adam- 2009-10-25 04:12:08 +00:00
  • a6c5207859 Move 1.9.1 TODO to Changes (as 1.9.1 was released), update Changes.conf, Changes.lang, and remove Changes.mysql (probably should've been done before 1.9,1's release, but better late than never). cyberbotx 2009-10-24 03:49:49 +00:00
  • 2361cb8d40 Couple of typos in hs_request. Thanks Fudge. sjaz 2009-10-23 10:04:53 +00:00
  • d08461907c Couple more typo's from Fudge, cheers! sjaz 2009-10-22 11:10:16 +00:00
  • fb997c5057 Fixed typo in example.conf. Thanks Fudge. sjaz 2009-10-22 09:12:07 +00:00
  • 6de7cb6eed Added SUFFIXES .c .cpp .so to makefiles to clean up some of the code Adam- 2009-10-20 21:39:13 +00:00
  • 624c5ba5b6 Fixed makesfiles to work on both bsd make and gnu make Adam- 2009-10-20 21:05:51 +00:00
  • 0b3824c86a Apply some changes based on possible "flaws" found with flawfinder. cyberbotx 2009-10-20 04:34:03 +00:00
  • 0d3ec454de Fix a few things that bugged me when I was working on one of my own modules. cyberbotx 2009-10-18 21:10:39 +00:00
  • 12ac162d9e Fixed small typo in dutch translation. jantje_85 2009-10-18 18:45:18 +00:00
  • 4ca2b60f91 Fixed small typo in dutch translation. jantje_85 2009-10-18 18:42:21 +00:00
  • d935d3d1b8 Call I_OnUserConnect and display news before checking if the user should be killed by sessions, sessions checking can delete the user if the IRCd doesn't send QUITs on KILL which could cause a segfault Adam- 2009-10-17 20:24:10 +00:00
  • b705f7eda6 Fix crash when trying to parse a USERHOST reply for a nonexistant user on Unreal Adam- 2009-10-17 18:33:25 +00:00
  • 00494c9020 dos2unix on files. cyberbotx 2009-10-17 15:45:19 +00:00
  • bbea1b5679 Give the proper error messages when trying to load/unload already loaded/unloaded modules, instead of just returning syntax error Adam- 2009-10-17 01:17:19 +00:00
  • 72fed4d9bb Renamed OnServerConnect(Server*) event to OnNewServer, we have two OnServerConnect's which is slightly confusing... Adam- 2009-10-17 01:17:06 +00:00
  • 63f55fa78b Made MOD_STOP returned from commands really halt processing (stops OnPostCommand event being called) Adam- 2009-10-17 01:17:00 +00:00
  • 11709eade6 Use the most recent NickServ collide/release timer for a nick instead of using the old and rejecting new ones Adam- 2009-10-17 01:16:55 +00:00
  • 3806cd8440 Fixed bug #1110 - Fixed tracking of NickServ collide/release timers to only attempt to delete real ones Adam- 2009-10-16 17:38:21 +00:00
  • f6510291aa Fixed inspircd12.cpp to actually work Adam- 2009-10-14 17:39:25 +00:00
  • de917994f8 Fix CMake build generation, it was getting into an infinite loop due to the include of services.h inside of regchannel.h, will not happen now. cyberbotx 2009-10-13 23:58:56 +00:00
  • d3d64c27b1 Complete rewrite of everything associated with modes, this breaks saving and reading mlocked modes from the databases until the new databases are implemented Adam- 2009-10-13 21:26:38 +00:00
  • 1fd6685132 Bump for SVN Version 1.9.2 sjaz 2009-10-13 17:06:06 +00:00
  • 5a1bc6abb4 NICK_REG_PLEASE_WAIT and NICK_GROUP_PLASE_WAIT now show the seconds until you can register/group again 1.9.1 DukePyrolator 2009-10-13 05:01:24 +00:00
  • 0d88137738 Code style cleanup, replace static_cast<std::string>() with std::string(), slight updates to config reader from InspIRCd. cyberbotx 2009-10-13 01:17:30 +00:00
  • 5bcb780c6d Changed /ns confirm to not assume the user you are confirming owns the nick (have it ask the user for the password now), added nickserv/confirm opertype command value, and changed OnNickRegister event param to be NickAlias* not User* Adam- 2009-10-12 20:56:23 +00:00
  • c79d189e89 fixed some bugs in ns_register.c DukePyrolator 2009-10-12 05:19:03 +00:00
  • 777c6cf073 Added OnPostDatabaseLoad event, which triggers after the cores databases have been loaded AND immediatly after a module is loaded *if* the core has already been loaded Adam- 2009-10-11 15:31:34 +00:00
  • f06eed9809 Fixed restarting Anope on Windows Adam- 2009-10-11 15:21:55 +00:00
  • e305db41ce Removed proxy server from ulined servers in example config as more people use a client proxy scanner and this should reduce occurences of user servers being listed. sjaz 2009-10-11 12:40:42 +00:00
  • 5bfc23a07e Removed proxy server from ulined servers in example config as more people use a client proxy scanner and this should reduce occurences of user servers being listed. sjaz 2009-10-11 12:39:07 +00:00
  • 2896b388d7 on inspircd12, we now check for m_servprotect and give +k to our pseudo clients DukePyrolator 2009-10-11 04:15:32 +00:00
  • ba62e7be62 Reset errno before calling strtol in bs_kick, it would sometimes not allow valid kick settings to work Adam- 2009-10-10 16:21:50 +00:00
  • 6ad63349c1 Reset errno before calling strtol in bs_kick, it would sometimes not allow valid kick settings to work Adam- 2009-10-10 16:21:29 +00:00
  • d0646a37dc Now send the QUIT command before changing bots internally for /botserv bot change, so InspIRCd 1.2 (and possibly others) can get the UID and other info from the bot Adam- 2009-10-09 22:34:17 +00:00
  • b80e0cb996 Fixed the NICK command syntax on InspIRCd 1.2 to work when changing clients nicknames Adam- 2009-10-09 22:33:39 +00:00
  • 5b65c9ce87 Fixed crash when juping servers on InspIRCd 1.2 Adam- 2009-10-09 22:33:23 +00:00
  • f07f92e30d Fixed remote whoises on services clients on InspIRCd 1.2 Adam- 2009-10-09 22:33:00 +00:00
  • 193ab9605b Disable Visual Studio warning 4100 (unreferenced formal parameter) during Windows build, otherwise we get thousands of completely harmless warnings which slow down the build process because they all have to be displayed. cyberbotx 2009-10-08 22:16:40 +00:00
  • 5d25bf4ac3 Removed OLDCHANGES from CMakes list of files to install, it doesn't exist anymore Adam- 2009-10-07 22:42:02 +00:00