577 Commits

Author SHA1 Message Date
brain
235a0a2035 Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for NOTICE @#chan etc.
Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04 13:09:18 +00:00
brain
9ebbd138cc This probably wont compile atm - add support for prefixed messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:20:40 +00:00
brain
e9c208d82b Remainder of TYPE_OTHER metadata
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 00:10:46 +00:00
brain
9d85ba0dad Added support for TYPE_OTHER metadata, where void* target will be NULL, e.g. its not bound to a user or a nick
-NOT TEST COMPILED YET-


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2981 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 00:05:59 +00:00
brain
3ba6fa6d7f Created OnPostOper that can be gauranteed to be called *after* opering (by ALL modules) is done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29 21:43:34 +00:00
brain
89ae67a659 Fixed uninitialized ExtMode::list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2959 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28 22:51:52 +00:00
brain
86c496cf14 Documented some functions that were missing comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 17:00:46 +00:00
brain
cdaf7ac378 Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how it works, function Prioritize())
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 16:31:05 +00:00
brain
93e3cda102 Added facility for servers to send KICK message (ew, i hate this crap)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 19:23:20 +00:00
brain
02280596a0 Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel is deleted for cleanup of metadata)
Added m_messageflood.so (not yet finished, do not use yet)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 15:51:06 +00:00
brain
7e6dfdf211 Added support for part messages in the module API (and therefore between servers too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-17 21:39:35 +00:00
brain
4b98200ca8 Changed lots of icky #define's to enums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2810 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 21:08:09 +00:00
brain
1383dba43e Updated copyrights in headers etc using perl inplace edit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 15:59:11 +00:00
brain
2a81a5a002 Added RemoveSocket as a test fix for merwins bug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-14 15:37:21 +00:00
brain
527077d8c0 Untested priority system for modules to move themselves to the start or end of the module queue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2758 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 21:59:58 +00:00
brain
3973b83ca2 *TEST* Oper-Only-Stats (not yet tested)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2749 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 13:06:57 +00:00
brain
d63e0473ba Added global_implementation array, bypasses calls which *NO* modules are currently implementing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2670 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 21:45:15 +00:00
brain
bd59b1a9a2 Fixed support for implementation hooks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 17:57:24 +00:00
brain
a9b90ecb43 Adding hook type checking to event calls to speed them up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 17:26:16 +00:00
brain
0fad2325b4 Improved m_alias to only capture complete commands and rewrite them (bug #92 as reported by strike)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2601 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-21 20:33:32 +00:00
brain
293df6a8b5 Split all commands into seperate files and redid command system to take classes, not function pointers (function pointers suck ass)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 18:10:38 +00:00
brain
9d37575438 More defines moved
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2525 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:07:25 +00:00
brain
eb61271c43 Moved a ton of defined to modules.h that belong there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2524 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:07:02 +00:00
brain
064d185361 So many inclusion loops it makes your head spin - forward declaring tons of classes to fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2523 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16 12:00:52 +00:00
brain
7a566e345c Added Server::GetVersion()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2455 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 20:58:38 +00:00
brain
945466193b Tidied up inspircd.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2421 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 16:48:12 +00:00
brain
997ba7e5be Added way to retrieve a pointer to the ServerConfig object
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2419 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 15:55:26 +00:00
brain
7a17273ec0 Tidied up modules.h added some typedefs to typedefs.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2401 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 12:29:20 +00:00
brain
a96341b150 Added tons of extra documentation to Module class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2300 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-09 20:19:50 +00:00
brain
c149dfa1e9 Changed name of variable in OnCleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2260 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07 21:18:57 +00:00
brain
aea429253a Added OnCleanup function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2258 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07 21:16:47 +00:00
brain
4c6b7c70ce Added Metadata API (for transferring extensibles over a network transparent to the protocol)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2253 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07 18:32:31 +00:00
brain
2d821f2980 Changed behaviour of module API to pass Server* to the constructor, rather than have to create one (makes more sense)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07 17:05:34 +00:00
brain
9c701f3098 Added G/Z/Q/E line propogation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2216 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-06 12:29:53 +00:00
brain
ace0f7f83f Added OnChangeHost
Added OnChangeName


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2181 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-05 08:59:12 +00:00
brain
7da84f2e70 Added OnWallops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2155 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-04 17:46:37 +00:00
brain
9941be7564 Added clever code to propogate module's special commands (SAJOIN, KNOCK etc) transparently!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2084 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-01 19:24:53 +00:00
brain
1424c78e7e Removed old OnUserSync and OnChannelSync
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2071 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 22:13:47 +00:00
brain
e1a92daeb6 Added opaque protocol functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2069 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 22:00:34 +00:00
brain
5a33196683 Added Server::RehashServer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2060 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 15:35:15 +00:00
brain
596e41348f Added onrehash parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2059 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 15:26:58 +00:00
brain
0e4420f083 Added OnGetServerDescription (mainly for link modules)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2056 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 14:28:22 +00:00
brain
d7205720a5 Added OnPostLocalTopic
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2042 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 11:42:53 +00:00
brain
a32d186945 Added OnUserInvite()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2039 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 11:11:53 +00:00
brain
bc0b595b6b Added remote kill
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2035 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30 09:59:44 +00:00
brain
de6a9294e3 Added opertype to OnOper and added OnMode function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-29 17:09:06 +00:00
brain
090e691462 Added reason to OnUserQuit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2007 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-29 15:37:04 +00:00
brain
0e5b1c94b3 Added OnUserMessage and OnUserNotice (why have these been missing so long?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1974 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-28 10:26:35 +00:00
brain
17b5f19bf1 Added start of spanning tree system TEST MODULE, tested outbound connections
Outbound connections function OK.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1956 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-26 15:47:19 +00:00
brain
de094dc104 Removed mesh module functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1934 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 10:22:01 +00:00