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 |
|
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-
|
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-
|
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-
|
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 |
|
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 |
|
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 |
|
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-
|
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-
|
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-
|
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 |
|
DukePyrolator
|
4bf22fa2e6
|
added more events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-08-22 04:39:22 +00:00 |
|
cyberbotx
|
0f3110e271
|
Fix build under Windows.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2458 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-08-20 02:49:09 +00:00 |
|
cyberbotx
|
b2a57b0974
|
Changed params parameter of Command's Execute() from std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure.
Also a few minor cleanups here and there.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-07-25 00:37:43 +00:00 |
|
cyberbotx
|
443654f15b
|
Changed subcommand parameter of Command's OnHelp() from std::string to ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-07-24 01:47:47 +00:00 |
|
adam-
|
f8efdbf822
|
Added a new event for channels being deleted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2388 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-07-21 20:52:29 +00:00 |
|
DukePyrolator
|
55d4d6084e
|
added 9 new events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2387 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-07-21 03:32:49 +00:00 |
|
rburchell
|
8dc849d8de
|
No real need for another constant
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2347 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-06-30 19:32:16 +00:00 |
|
DukePyrolator
|
15687a7c9e
|
changed encryption modules to use the new module API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2342 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-06-29 04:47:00 +00:00 |
|
adam-
|
712cbb540c
|
Add ability for fantasy to be disabled for some commands and strip the channel name from them
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2341 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-06-28 18:49:07 +00:00 |
|
adam-
|
6b5786aa37
|
Changed module callbacks to use new Timer API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-06-26 20:01:26 +00:00 |
|
adam-
|
dc8f7923f4
|
Adds check for using commands on non-registered channels before the
commands are called
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2336 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-06-23 16:56:38 +00:00 |
|
rburchell
|
9ff6ed2430
|
New events stuff, patch totally by Adam (aka Awesome).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-06-06 23:33:23 +00:00 |
|
cyberbotx
|
dc102049b0
|
Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds optional parameter to Command class constructor that takes the opertype permissions for the command.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2292 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-05-05 22:26:41 +00:00 |
|
rburchell
|
fc4f89e079
|
Add Command::SetPermission member to centralise access checking. Remove duplicated comments at the same time.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2282 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-04-16 20:28:52 +00:00 |
|
cyberbotx
|
578da38d30
|
Replace Set*Help() functions with virtual *ServHelp() functions that can be overriden in a module's Module class. Patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-04-06 21:25:56 +00:00 |
|
cyberbotx
|
2dba060c6a
|
Patch from DukePyrolator to include an OnUserNickChange() event to replace EVENT_CHANGE_NICK, also patch from me to have the ratbox protocol module send account data on login and logout.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2254 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-04-03 21:16:33 +00:00 |
|
cyberbotx
|
6d97b7f8f9
|
Fix bug #1045, patch from Adam, suspended channels can no longer be administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-04-03 02:42:06 +00:00 |
|
cyberbotx
|
c6ef1e0390
|
Added service argument to OnPreCommand, added OnPostCommand event, changed the following modules to use On[Pre|Post]Command instead of hooking into existing commands: hs_request, ns_maxemail, and os_info.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2242 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-04-03 00:16:15 +00:00 |
|
rburchell
|
48ef6617ac
|
Remove capability for commands to hook existing commands, add an OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code.
NOTE: This will break some stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-04-02 22:59:27 +00:00 |
|
rburchell
|
8a01e21a48
|
Send snotice after connecting to the network. Also change OnServerConnect to take Server*, not a name.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2227 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-03-31 14:44:33 +00:00 |
|
rburchell
|
ab9c1e4651
|
Fix ss_main's client introduction.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2226 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-03-31 14:43:04 +00:00 |
|
cyberbotx
|
63e8a8f6c2
|
Fix slight warning that comes up with gcc 3.4.x but not 4.2.x, this should be done anyways.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2144 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-03-07 03:06:05 +00:00 |
|
rburchell
|
bd7f4f8c49
|
Patch from Adam, reducing duplication in cs_modes. Untested.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2135 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-28 00:49:37 +00:00 |
|
rburchell
|
c917ca5a34
|
Remove (and neuter) old event system. Not used by anything in core.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-19 00:23:14 +00:00 |
|
rburchell
|
23f5e9de79
|
Move last of events that are in the core distro over to newevents.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2115 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-19 00:22:46 +00:00 |
|
rburchell
|
2b0914ae36
|
Add OnUserConnect event, mark OnSaveDatabase deprecated pending db redesign.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2113 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-18 23:48:46 +00:00 |
|
rburchell
|
bcb857f118
|
Move EVENT_DB_SAVING to newevent.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2108 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-18 23:00:41 +00:00 |
|
rburchell
|
187c45059a
|
Move assign and unassign to new events, allow for halting too should modules desire that.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2107 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-18 22:59:16 +00:00 |
|
cyberbotx
|
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.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-17 02:02:20 +00:00 |
|
rburchell
|
d07de70fc3
|
Move EVENT_RELOAD to OnReload.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-16 23:48:03 +00:00 |
|
rburchell
|
c1c9e17d79
|
Move OnUserKicked to a module event.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2102 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-16 23:47:28 +00:00 |
|
rburchell
|
ce3a04f0a8
|
Modevents, ported from insp. Typesafe (unlike the current ones), no double hashing overhead (faster), no useless memory allocations (copies of the args)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2101 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-16 22:59:59 +00:00 |
|
cyberbotx
|
ba47bf2f6f
|
HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-15 17:47:52 +00:00 |
|
rburchell
|
92170818ff
|
Fix CFLAG_ALLOW_UNREGISTERED.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2068 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-15 15:23:57 +00:00 |
|