Adam-
|
a08b3ec592
|
Massive move of all of the Config variables out of global scope to the Config class
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-28 23:02:07 +00:00 |
|
Adam-
|
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
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2660 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-19 01:53:03 +00:00 |
|
Adam-
|
68381e69d9
|
Fix compile errors on some compilers that did not like our overloaded operators << on std::ostream
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2659 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-19 01:52:52 +00:00 |
|
Adam-
|
5179a0a40f
|
Delete the correct entries from akick and badwords list when given a numlist
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2657 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-18 02:51:46 +00:00 |
|
cyberbotx
|
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).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-18 01:05:12 +00:00 |
|
cyberbotx
|
e10fe1cd76
|
Removed some unnecessary casts, used C++-style casts over C-style casts, fixed a few warnings (one possibly fatal one).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-17 04:04:24 +00:00 |
|
Adam-
|
88330c07ad
|
Cleand up alot of the code in bs_badwords, made it much more C++-ish
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2654 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-17 03:15:31 +00:00 |
|
Adam-
|
848c0aaa21
|
Made Command::Execute's params const
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-12 00:28:05 +00:00 |
|
Adam-
|
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
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-11 23:43:02 +00:00 |
|
Adam-
|
0bd3141407
|
Made DefCon not use a ChannelInfo structure for saving its modes & params, it was ugly
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2640 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-11 06:03:40 +00:00 |
|
Adam-
|
b9190ebc16
|
Moved alot of stuff to constructors and destructors, instead of having functions everywhere to create and destroy objects
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2639 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-11 06:03:25 +00:00 |
|
Adam-
|
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.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2638 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-11 02:47:05 +00:00 |
|
Adam-
|
9d37cf1d5a
|
Made the Module::ServHelp() functions part of the event system
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-08 23:43:51 +00:00 |
|
Adam-
|
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
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-08 20:06:21 +00:00 |
|
Adam-
|
1c1312624d
|
Rewrote BuildStringList to use std::list instead of char**
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-08 18:00:54 +00:00 |
|
Adam-
|
9047b0347d
|
Made mlock_on, mlock_off, access, and akick private in ChannelInfo
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2630 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-07 21:46:58 +00:00 |
|
Adam-
|
029f39964b
|
Rewrote all of the akick code to be much cleaner
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2613 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-07 18:09:09 +00:00 |
|
Adam-
|
2ec83162d6
|
Added src/regchannel.cpp and moved the code from include/regchannel.h there
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2612 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-06 02:46:29 +00:00 |
|
Adam-
|
3317f406d2
|
Added /chanserv access view, which shows the access creator and last time used
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2611 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-06 02:08:15 +00:00 |
|
Adam-
|
921ddbd517
|
Added OnPreNickExpire and OnPreChanExpire events, which can keep nicks and channels from expiring
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2605 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-03 02:05:45 +00:00 |
|
Adam-
|
65deeaf1e6
|
Moved some of the news variables out of the news module so other modules etc can access them, if needed
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2604 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-03 02:05:38 +00:00 |
|
DukePyrolator
|
9a0b1efc24
|
added a way to load multiple encryption modules at the same and to switch between encryption methods
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-02 05:22:35 +00:00 |
|
Adam-
|
987f371c0b
|
Removed channel passwords and added /chanserv QOP command to add additional channel founders, aswell as access level 10000
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-30 02:38:06 +00:00 |
|
Adam-
|
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
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-30 01:04:13 +00:00 |
|
Adam-
|
5fc268b750
|
Added I_OnPreUserConnect, I_OnUserModeAdd, and I_OnUserModeAdd events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2596 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-30 01:03:54 +00:00 |
|
Adam-
|
a491eed3ff
|
Added MinusNoArg to insp modes Ffj and unreal mode j
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2589 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-25 14:32:38 +00:00 |
|
Adam-
|
a43424dbb9
|
Added internal tracking of InspIRCd1.2 channel modes BFfjMPT and user modes BcdGHIkQRSW, also added tracking of Unreal3.2s channel mode j
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2588 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-25 06:32:47 +00:00 |
|
Adam-
|
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
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2586 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-25 04:12:54 +00:00 |
|
Adam-
|
7a429517af
|
added options:enablelogchannel config file option, which turns on the logchannel on startup. yay!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2585 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-25 04:12:47 +00:00 |
|
Adam-
|
0e8de37778
|
Rewrote part of news system and moved it all to os_news.c. Removed src/news.c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2584 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-25 04:12:34 +00:00 |
|
Adam-
|
338cb38ee8
|
Added 4 new events for (un)setting modes on channels and users
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2583 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-25 04:12:21 +00:00 |
|
cyberbotx
|
0d3ec454de
|
Fix a few things that bugged me when I was working on one of my own modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-18 21:10:39 +00:00 |
|
cyberbotx
|
00494c9020
|
dos2unix on files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2568 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-17 15:45:19 +00:00 |
|
Adam-
|
72fed4d9bb
|
Renamed OnServerConnect(Server*) event to OnNewServer, we have two OnServerConnect's which is slightly confusing...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2566 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-17 01:17:06 +00:00 |
|
cyberbotx
|
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.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2561 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-13 23:58:56 +00:00 |
|
Adam-
|
d3d64c27b1
|
Complete rewrite of everything associated with modes, this breaks saving and reading mlocked modes from the databases until the new databases are implemented
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-13 21:26:38 +00:00 |
|
cyberbotx
|
0d88137738
|
Code style cleanup, replace static_cast<std::string>() with std::string(), slight updates to config reader from InspIRCd.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2555 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-13 01:17:30 +00:00 |
|
Adam-
|
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*
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2554 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-12 20:56:23 +00:00 |
|
Adam-
|
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
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2552 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-11 15:31:34 +00:00 |
|
DukePyrolator
|
dd3cce64c3
|
added a new event OnUserQuit, changed OnPartChannel and OnUserKicked to send the part/kick message and fixed OnUserNickChange
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2539 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-07 10:33:28 +00:00 |
|
Adam-
|
fb5356ccbc
|
Destroyed Command::help_param* and rewrote the help part of os_news to be much better
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2538 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-06 21:54:55 +00:00 |
|
Adam-
|
dc4b9afebb
|
Properly remove old callbacks from modules internal list of callbacks list, and cleaned up some of the timers code
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2524 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-02 22:19:19 +00:00 |
|
Adam-
|
85b409df85
|
Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-30 21:50:32 +00:00 |
|
Adam-
|
f572827157
|
Removed old mod_version system for detecting module versions and replaced with the Module::GetVersion() function
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-27 21:20:56 +00:00 |
|
Adam-
|
d8bd3afd76
|
Fixed bug #1107. We now have support for IRCds that send auth after the initial NICK/UID command, and automatically reidentifying users from their account name on InspIRCd1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2513 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-26 04:53:59 +00:00 |
|
Adam-
|
de7b668ad1
|
Removed the file name arg from MODULE_INIT
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2510 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-20 00:40:14 +00:00 |
|
Adam-
|
09b92517d0
|
Removed MOD_HEAD, MOD_TAIL, and MOD_UNIQUE constants
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2507 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-16 23:27:34 +00:00 |
|
Adam-
|
68592b0445
|
Removed command position from Module::AddCommand(), it is no longer used because of OnPreCommand/OnPostCommand
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-15 21:00:51 +00:00 |
|
Adam-
|
7ea66a37d5
|
Fixes bugs #1105 and #1106
Now properly track users host changes and keep users cloaked hosts saved in memory
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2498 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-12 03:32:47 +00:00 |
|
Adam-
|
2f93b4225f
|
Added the OnBotPreLoad event to fix introducing StatServ
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2494 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-09-07 17:03:55 +00:00 |
|