838 Commits

Author SHA1 Message Date
brain
1b87725fef Document mode prefixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4999 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23 20:50:20 +00:00
brain
b83765d756 Spotted problem: must clear out all prefixes attached to a user when they quit or leave a channel
Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23 20:29:09 +00:00
brain
8b864c8a82 Mode handlers handling listmodes where a listmode item is a nickname can now specify prefixes!!!!!!
This isnt documented yet.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23 20:20:41 +00:00
brain
985169b6ee Inherit ModuleMessage from Extensible, so users can Extend and Shrink it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4996 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23 09:33:30 +00:00
brain
8cd26c0ff3 Make it virtual, in case someone ever wants to make a derived version of it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4986 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:51:13 +00:00
brain
e3b9387237 Extra comments about how the FileLogger class schedules its own write events if all the data is not written
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4985 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:50:11 +00:00
brain
85672a1c17 Missing vector.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4984 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:31:18 +00:00
brain
720bca17ef I hate this header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:23:15 +00:00
brain
98e1956eac Add multimap
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4982 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:22:51 +00:00
brain
d8e4b2d958 Remove users.h include from here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4978 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-19 00:02:49 +00:00
brain
2ed8e1820f Make DELETE inline so its about as fast as the define it replaced
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4975 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 23:27:24 +00:00
brain
c2bc7f1636 Change #define DELETE to a template
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4974 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 23:13:14 +00:00
brain
65e33571de Change comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4973 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 22:55:08 +00:00
brain
5adcab2223 NONBLOCKING LOGGER!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4971 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 22:01:26 +00:00
brain
a2d8fbc45d Document ListenSocket class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4968 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 19:18:43 +00:00
brain
f013dc094d Typos in the socketengines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4964 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 18:08:56 +00:00
brain
05066cfa55 Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4952 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 16:10:50 +00:00
brain
d546725cb6 Move lowermap[] into a pre-initialised const array in hashcomp.h,
get rid of InspIRCd::MakeLowertab()


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4951 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 15:59:23 +00:00
brain
56cec38f3e Get rid of SocketEngine::Wait and array-copy, change to SocketEngine::DispatchEvents
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4944 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 10:07:22 +00:00
brain
e381b06561 EventHandler class, an abstraction for raw i/o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-18 01:08:14 +00:00
brain
52f7f1a296 Add modules.h to cmd_connect.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4936 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17 14:47:54 +00:00
brain
4bf95512bc userrec::AddBuffer and userrec::Write end up copying the const std::string& into a non-const to make use of it, why not just pass std::string and let the compiler do the copy when passing it?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4933 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-17 14:16:15 +00:00
brain
48291aaee5 This commit is dedicated to Boo ;-pppppp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4911 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 17:36:08 +00:00
brain
ff5376b7b6 Document base modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4908 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 01:22:26 +00:00
brain
0771566143 Explain what ModeParser does
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4907 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 01:19:25 +00:00
brain
cba65964eb Document the nspace namespace
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4906 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 01:17:23 +00:00
brain
d9d4f8fdad Document some missing xline stuff
Document the variants of SocketEngine for epoll, kqueue and select


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 01:13:40 +00:00
brain
787020a2d7 More docs. Tons more docs. I need coffee and we're out of coffee :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 01:04:56 +00:00
brain
5d59031ee3 Document command_parse.h and CommandParser class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4903 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 00:51:35 +00:00
brain
8ef6da00a7 Document irc::socket namespace members/classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4902 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 00:31:37 +00:00
brain
6050df73f4 Just to mess with om's head, remove helperfuncs.h from everywhere
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 23:31:13 +00:00
brain
b6a20325ca Document TimerManager class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4899 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 22:57:42 +00:00
brain
c9f5327966 Added comment about why its important to push_back onto the string_list when doing OnStats, rather than just WriteServ'ing stuff to the user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4898 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 22:53:11 +00:00
brain
b96de3df20 Document XLineManager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4897 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 21:56:25 +00:00
brain
3f6d53996f Just about enough docs to rebuild the docs page now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4896 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 20:16:22 +00:00
brain
b5de33f4a7 Tons more docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4895 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 19:32:37 +00:00
brain
6557d7fa40 Documentation of new chanrec functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4894 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 19:17:31 +00:00
brain
ec62d9d1ef Document all the new methods (eventually there will be more detail)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4893 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 18:55:51 +00:00
brain
be8d814737 Documented all of the functions in a basic manner here. More detail to follow
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4892 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 18:41:32 +00:00
brain
420e1c25d2 More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 18:22:20 +00:00
brain
15f58df9fd Tons of comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4890 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 17:01:35 +00:00
brain
cfb2c2fff4 CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing...


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 16:14:44 +00:00
brain
7775a195d9 Move remaining functions:
operstrcmp*             commands.cpp            InspIRCd::operstrcmp()
duration*               commands.cpp            InspIRCd::duration()
host_matches_everyone*  commands.cpp            InspIRCd::host_matches_everyone()
ip_matches_everyone*    commands.cpp            InspIRCd::ip_matches_everyone()
nick_matches_everyone*  commands.cpp            InspIRCd::nick_matches_everyone()


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 15:14:39 +00:00
brain
ffb1c16b3e Fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4882 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 12:32:07 +00:00
brain
187c9208f1 Fix FOREACH_MOD macros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4881 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 12:28:57 +00:00
brain
d174657167 Now two types of log macro, log() and ilog(). log() assumes an InspIRCd object called ServerInstance, ilog() takes an InspIRCd object as first param.
TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 12:15:03 +00:00
brain
312d49abb0 Move all of the xline stuff into class XLineManager, make an instance of it in class InspIRCd and use it
(eliminates another extern)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4878 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 11:06:40 +00:00
brain
fe66a14a06 Move ReadBuffer into InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4877 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 10:40:48 +00:00
brain
a5833e654d Move whowas into InspIRCd
Tidy up lowermap extern (for now, we cant do much but have this as extern)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4876 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 09:50:16 +00:00
brain
9ea40ce2f7 Removal of an extern
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4875 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 09:39:48 +00:00