]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoImprove userrec::AddBuffer (remove craq char to std::string loop)
brain [Thu, 17 Aug 2006 14:12:10 +0000 (14:12 +0000)]
Improve userrec::AddBuffer (remove craq char to std::string loop)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4932 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange a std::string operator+= to append()
brain [Thu, 17 Aug 2006 14:06:18 +0000 (14:06 +0000)]
Change a std::string operator+= to append()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4931 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOptimization and removal of casts (profiling stuff)
brain [Thu, 17 Aug 2006 13:58:04 +0000 (13:58 +0000)]
Optimization and removal of casts (profiling stuff)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4930 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck in eline, gline and kline for the @ which signifies an ident. Without the ident...
brain [Wed, 16 Aug 2006 17:03:11 +0000 (17:03 +0000)]
Check in eline, gline and kline for the @ which signifies an ident. Without the ident, these are malformed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4929 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOptimizations
brain [Wed, 16 Aug 2006 09:43:17 +0000 (09:43 +0000)]
Optimizations

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4927 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWasnt checking channel name on ban deletion
brain [Wed, 16 Aug 2006 09:42:21 +0000 (09:42 +0000)]
Wasnt checking channel name on ban deletion

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4926 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoLeaChim please try this
brain [Wed, 16 Aug 2006 09:04:29 +0000 (09:04 +0000)]
LeaChim please try this

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4923 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agofree() REQUIRES casts to free const char*'s :<
brain [Wed, 16 Aug 2006 08:50:02 +0000 (08:50 +0000)]
free() REQUIRES casts to free const char*'s :<

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4922 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBecause the iterator can be whacked (and the item) inside of SetBan, make copies
brain [Wed, 16 Aug 2006 08:49:03 +0000 (08:49 +0000)]
Because the iterator can be whacked (and the item) inside of SetBan, make copies

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4921 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTweak: Setting server pointer isnt required
brain [Wed, 16 Aug 2006 08:41:06 +0000 (08:41 +0000)]
Tweak: Setting server pointer isnt required

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4920 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIf +L is set without +l, dont forward users
brain [Sun, 13 Aug 2006 14:08:24 +0000 (14:08 +0000)]
If +L is set without +l, dont forward users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4918 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoClear fd_ref_table and socket_ref arrays in the constructor
brain [Sun, 13 Aug 2006 11:17:54 +0000 (11:17 +0000)]
Clear fd_ref_table and socket_ref arrays in the constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4915 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSo i wonder why we've not had this problem sooner
brain [Sat, 12 Aug 2006 20:54:28 +0000 (20:54 +0000)]
So i wonder why we've not had this problem sooner

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4914 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake sure that the hostname isnt set after the timeout period
brain [Sat, 12 Aug 2006 20:27:30 +0000 (20:27 +0000)]
Make sure that the hostname isnt set after the timeout period

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4912 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis commit is dedicated to Boo ;-pppppp
brain [Sat, 12 Aug 2006 17:36:08 +0000 (17:36 +0000)]
This commit is dedicated to Boo ;-pppppp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4911 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCatch exceptions from SQLresolver
om [Sat, 12 Aug 2006 15:32:51 +0000 (15:32 +0000)]
Catch exceptions from SQLresolver

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4910 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComplain if we can't find the binary
om [Sat, 12 Aug 2006 13:43:42 +0000 (13:43 +0000)]
Complain if we can't find the binary

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4909 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument base modes
brain [Sat, 12 Aug 2006 01:22:26 +0000 (01:22 +0000)]
Document base modes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4908 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExplain what ModeParser does
brain [Sat, 12 Aug 2006 01:19:25 +0000 (01:19 +0000)]
Explain what ModeParser does

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4907 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument the nspace namespace
brain [Sat, 12 Aug 2006 01:17:23 +0000 (01:17 +0000)]
Document the nspace namespace

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4906 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument some missing xline stuff
brain [Sat, 12 Aug 2006 01:13:40 +0000 (01:13 +0000)]
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

17 years agoMore docs. Tons more docs. I need coffee and we're out of coffee :<
brain [Sat, 12 Aug 2006 01:04:56 +0000 (01:04 +0000)]
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

17 years agoDocument command_parse.h and CommandParser class
brain [Sat, 12 Aug 2006 00:51:35 +0000 (00:51 +0000)]
Document command_parse.h and CommandParser class

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4903 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument irc::socket namespace members/classes
brain [Sat, 12 Aug 2006 00:31:37 +0000 (00:31 +0000)]
Document irc::socket namespace members/classes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4902 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove a blank line! WOO YAY! biggest commit all week!
brain [Fri, 11 Aug 2006 23:41:32 +0000 (23:41 +0000)]
Remove a blank line! WOO YAY! biggest commit all week!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4901 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoJust to mess with om's head, remove helperfuncs.h from everywhere
brain [Fri, 11 Aug 2006 23:31:13 +0000 (23:31 +0000)]
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

17 years agoDocument TimerManager class
brain [Fri, 11 Aug 2006 22:57:42 +0000 (22:57 +0000)]
Document TimerManager class

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4899 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded comment about why its important to push_back onto the string_list when doing...
brain [Fri, 11 Aug 2006 22:53:11 +0000 (22:53 +0000)]
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

17 years agoDocument XLineManager
brain [Fri, 11 Aug 2006 21:56:25 +0000 (21:56 +0000)]
Document XLineManager

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4897 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoJust about enough docs to rebuild the docs page now
brain [Fri, 11 Aug 2006 20:16:22 +0000 (20:16 +0000)]
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

17 years agoTons more docs
brain [Fri, 11 Aug 2006 19:32:37 +0000 (19:32 +0000)]
Tons more docs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4895 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocumentation of new chanrec functions
brain [Fri, 11 Aug 2006 19:17:31 +0000 (19:17 +0000)]
Documentation of new chanrec functions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4894 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument all the new methods (eventually there will be more detail)
brain [Fri, 11 Aug 2006 18:55:51 +0000 (18:55 +0000)]
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

17 years agoDocumented all of the functions in a basic manner here. More detail to follow
brain [Fri, 11 Aug 2006 18:41:32 +0000 (18:41 +0000)]
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

17 years agoMore comments
brain [Fri, 11 Aug 2006 18:22:20 +0000 (18:22 +0000)]
More comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4891 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTons of comments
brain [Fri, 11 Aug 2006 17:01:35 +0000 (17:01 +0000)]
Tons of comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4890 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
brain [Fri, 11 Aug 2006 16:14:44 +0000 (16:14 +0000)]
CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove remaining functions:
brain [Fri, 11 Aug 2006 15:14:39 +0000 (15:14 +0000)]
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

17 years agoSo is this one ;-ppp
brain [Fri, 11 Aug 2006 12:50:22 +0000 (12:50 +0000)]
So is this one ;-ppp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4887 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis commit-o-gram is dedicated to boo, because i geek too much :) love you babe...
brain [Fri, 11 Aug 2006 12:49:12 +0000 (12:49 +0000)]
This commit-o-gram is dedicated to boo, because i geek too much :) love you babe ;-ppp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4886 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSomehow, IMPORTANT changes got reverted.
brain [Fri, 11 Aug 2006 12:43:49 +0000 (12:43 +0000)]
Somehow, IMPORTANT changes got reverted.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agopeline/pxline etc stuff removed
brain [Fri, 11 Aug 2006 12:38:43 +0000 (12:38 +0000)]
peline/pxline etc stuff removed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4884 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove xline to before config system
brain [Fri, 11 Aug 2006 12:35:29 +0000 (12:35 +0000)]
Move xline to before config system

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4883 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixed
brain [Fri, 11 Aug 2006 12:32:07 +0000 (12:32 +0000)]
Fixed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4882 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix FOREACH_MOD macros
brain [Fri, 11 Aug 2006 12:28:57 +0000 (12:28 +0000)]
Fix FOREACH_MOD macros

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4881 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange to using Instance->Log (InspIRCd::Log) rather than log() macro
brain [Fri, 11 Aug 2006 12:26:07 +0000 (12:26 +0000)]
Change to using Instance->Log (InspIRCd::Log) rather than log() macro

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNow two types of log macro, log() and ilog(). log() assumes an InspIRCd object calle...
brain [Fri, 11 Aug 2006 12:15:03 +0000 (12:15 +0000)]
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

17 years agoMove all of the xline stuff into class XLineManager, make an instance of it in class...
brain [Fri, 11 Aug 2006 11:06:40 +0000 (11:06 +0000)]
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

17 years agoMove ReadBuffer into InspIRCd class
brain [Fri, 11 Aug 2006 10:40:48 +0000 (10:40 +0000)]
Move ReadBuffer into InspIRCd class

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4877 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove whowas into InspIRCd
brain [Fri, 11 Aug 2006 09:50:16 +0000 (09:50 +0000)]
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

17 years agoRemoval of an extern
brain [Fri, 11 Aug 2006 09:39:48 +0000 (09:39 +0000)]
Removal of an extern

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4875 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange to use InspIRCd::Time()
brain [Fri, 11 Aug 2006 09:28:31 +0000 (09:28 +0000)]
Change to use InspIRCd::Time()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoextern time_t TIME -> InspIRCd::Time()
brain [Fri, 11 Aug 2006 09:23:46 +0000 (09:23 +0000)]
extern time_t TIME -> InspIRCd::Time()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNew API update
om [Fri, 11 Aug 2006 09:08:23 +0000 (09:08 +0000)]
New API update

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4872 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNew API update
om [Fri, 11 Aug 2006 09:06:03 +0000 (09:06 +0000)]
New API update

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4871 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNew API update
om [Fri, 11 Aug 2006 08:58:36 +0000 (08:58 +0000)]
New API update

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4870 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse pcre-config to detect pcre
brain [Fri, 11 Aug 2006 08:37:15 +0000 (08:37 +0000)]
Use pcre-config to detect pcre

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4869 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSomehow, i'd cp'd all these and was making local changes :/
brain [Fri, 11 Aug 2006 08:21:54 +0000 (08:21 +0000)]
Somehow, i'd cp'd all these and was making local changes :/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4868 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdates to new API and small cleanup
om [Fri, 11 Aug 2006 07:53:28 +0000 (07:53 +0000)]
Updates to new API and small cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4867 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agocommands.cpp:extern InspIRCd* ServerInstance;
brain [Fri, 11 Aug 2006 01:39:21 +0000 (01:39 +0000)]
commands.cpp:extern InspIRCd* ServerInstance;
helperfuncs.cpp:        extern InspIRCd* ServerInstance;
xline.cpp:extern InspIRCd* ServerInstance;

The last 3 extern's in the entire program!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4866 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoConfigReader and FileReader now take InspIRCd* to their constructors
brain [Fri, 11 Aug 2006 01:35:01 +0000 (01:35 +0000)]
ConfigReader and FileReader now take InspIRCd* to their constructors

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnd fix a bug
brain [Fri, 11 Aug 2006 00:50:54 +0000 (00:50 +0000)]
And fix a bug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4864 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNone of the modules use an extern InspIRCd* any more
brain [Fri, 11 Aug 2006 00:46:41 +0000 (00:46 +0000)]
None of the modules use an extern InspIRCd* any more

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago(Bigger than it looks, i did this with perl inplace edit) -- commands now take an...
brain [Fri, 11 Aug 2006 00:15:07 +0000 (00:15 +0000)]
(Bigger than it looks, i did this with perl inplace edit) -- commands now take an InspIRCd* param to their constructor, so that you can do stuff within them without an extern

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoLast of Server:: methods moved to InspIRCd::. Server:: removed.
brain [Thu, 10 Aug 2006 23:53:48 +0000 (23:53 +0000)]
Last of Server:: methods moved to InspIRCd::. Server:: removed.
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc)
Next on the todo: Make command handlers have a ServerInstance (gank!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCommitting this as a rollback point - does not compile
brain [Thu, 10 Aug 2006 23:36:53 +0000 (23:36 +0000)]
Committing this as a rollback point - does not compile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4860 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNote: FOR THE MOMENT, this is BROKEN. It wont run right until im done.
brain [Thu, 10 Aug 2006 23:19:43 +0000 (23:19 +0000)]
Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.
Changed Parameter for modules from Server* to InspIRCd*.
TODO: Move remaining Server* Modules into InspIRCd* and remove class Server.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSo much stuff changed in this one, i forgot most of it.
brain [Thu, 10 Aug 2006 22:40:57 +0000 (22:40 +0000)]
So much stuff changed in this one, i forgot most of it.
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove all_opers into class InspIRCd
brain [Thu, 10 Aug 2006 21:39:57 +0000 (21:39 +0000)]
Move all_opers into class InspIRCd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMass-tidyup of module global vars, theyre no longer global vars.
brain [Thu, 10 Aug 2006 21:19:19 +0000 (21:19 +0000)]
Mass-tidyup of module global vars, theyre no longer global vars.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove tons more stuff into class InspIRCd*, make signal handler functions static members
brain [Thu, 10 Aug 2006 20:27:51 +0000 (20:27 +0000)]
Move tons more stuff into class InspIRCd*, make signal handler functions static members

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake it more readable
brain [Thu, 10 Aug 2006 19:17:04 +0000 (19:17 +0000)]
Make it more readable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMuch faster hash<string> for case-insensitive hashing, combined copy and lowercase...
brain [Thu, 10 Aug 2006 19:15:42 +0000 (19:15 +0000)]
Much faster hash<string> for case-insensitive hashing, combined copy and lowercase operation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4852 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove AllModulesReportReady into a private method of class InspIRCd
brain [Thu, 10 Aug 2006 18:58:21 +0000 (18:58 +0000)]
Move AllModulesReportReady into a private method of class InspIRCd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4851 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove strlower into nspace namespace where hash<std::string> lives
brain [Thu, 10 Aug 2006 18:54:29 +0000 (18:54 +0000)]
Move strlower into nspace namespace where hash<std::string> lives

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4850 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove InsertMode into ModeParser
brain [Thu, 10 Aug 2006 18:43:15 +0000 (18:43 +0000)]
Move InsertMode into ModeParser

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove FileExists, CleanFilename, DirValid, GetFullProgDir into class ServerConfig
brain [Thu, 10 Aug 2006 18:28:37 +0000 (18:28 +0000)]
Move FileExists, CleanFilename, DirValid, GetFullProgDir into class ServerConfig

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4848 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove IsNick, IsIdent into class InspIRCd, update modules that use it.
brain [Thu, 10 Aug 2006 18:04:19 +0000 (18:04 +0000)]
Move IsNick, IsIdent into class InspIRCd, update modules that use it.
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> InspIRCd::
brain [Thu, 10 Aug 2006 17:37:25 +0000 (17:37 +0000)]
PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> InspIRCd::

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemoval of Server::Log -- not much ever used it anyway with the ability to use log...
brain [Thu, 10 Aug 2006 16:56:03 +0000 (16:56 +0000)]
Removal of Server::Log -- not much ever used it anyway with the ability to use log(). log() macro still exists, and calls InspIRCd::Log()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixes and removal of Server::GetServerName()
brain [Thu, 10 Aug 2006 16:37:01 +0000 (16:37 +0000)]
Fixes and removal of Server::GetServerName()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoServer::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- *REMOVED*
brain [Thu, 10 Aug 2006 16:16:40 +0000 (16:16 +0000)]
Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- *REMOVED*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdates to new API
om [Thu, 10 Aug 2006 16:08:50 +0000 (16:08 +0000)]
Updates to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4842 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCast value to long instead of int, shouldn't break any sane system, fixes warning...
om [Thu, 10 Aug 2006 16:01:21 +0000 (16:01 +0000)]
Cast value to long instead of int, shouldn't break any sane system, fixes warning on 64bit systems

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4841 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix to new API
om [Thu, 10 Aug 2006 16:00:03 +0000 (16:00 +0000)]
Fix to new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4840 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhy is most of Server:: virtual?`
brain [Thu, 10 Aug 2006 15:47:26 +0000 (15:47 +0000)]
Why is most of Server:: virtual?`

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4839 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove Server::Server() and Server::~Server()
brain [Thu, 10 Aug 2006 15:45:08 +0000 (15:45 +0000)]
Remove Server::Server() and Server::~Server()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4838 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agocmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags...
brain [Thu, 10 Aug 2006 15:44:03 +0000 (15:44 +0000)]
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago#define IS_MINGW on..MinGW (*shock*)
om [Thu, 10 Aug 2006 15:28:31 +0000 (15:28 +0000)]
#define IS_MINGW on..MinGW (*shock*)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4836 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't use -fPIC on MinGW platforms
om [Thu, 10 Aug 2006 15:06:43 +0000 (15:06 +0000)]
Don't use -fPIC on MinGW platforms

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4835 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd a few tidbits for MinGW, check for C:\ style paths as well as just beginning...
om [Thu, 10 Aug 2006 15:04:10 +0000 (15:04 +0000)]
Add a few tidbits for MinGW, check for C:\ style paths as well as just beginning with '/' when determining if a path is absolute (only check if OSTYPE = MINGW32)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4834 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoServer::GetConfig, Server::GetVersion -> removed
brain [Thu, 10 Aug 2006 15:02:11 +0000 (15:02 +0000)]
Server::GetConfig, Server::GetVersion -> removed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4833 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass...
brain [Thu, 10 Aug 2006 14:43:29 +0000 (14:43 +0000)]
FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes
ServerConfig takes InspIRCd pointer in its constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange to use the core perl module Cwd rather than the pwd command. Should be more...
om [Thu, 10 Aug 2006 13:46:11 +0000 (13:46 +0000)]
Change to use the core perl module Cwd rather than the pwd command. Should be more portable. (Om's bi-monthly MinGw attempt)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4831 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agobad_alloc is thrown by reference not by value
brain [Thu, 10 Aug 2006 12:01:23 +0000 (12:01 +0000)]
bad_alloc is thrown by reference not by value

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4830 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd a default exception handler around main()
brain [Thu, 10 Aug 2006 11:59:29 +0000 (11:59 +0000)]
Add a default exception handler around main()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4829 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove the socket functions like insp_ntoa into their own namespace. They arent really...
brain [Thu, 10 Aug 2006 00:36:07 +0000 (00:36 +0000)]
Move the socket functions like insp_ntoa into their own namespace. They arent really sensible to put into a class, but namespacing them out discourages developers from directly using them without explicitly saing 'using irc::sockets::BindPorts' or whatever first. Some functions such as insp_ntoa are already 'exposed' by headers that use them so 'using irc::sockets::inet_ntoa' isnt required.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4828 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRelocate timer stuff into TimerManager class
brain [Thu, 10 Aug 2006 00:02:31 +0000 (00:02 +0000)]
Relocate timer stuff into TimerManager class

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4827 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove readfile
brain [Wed, 9 Aug 2006 22:13:36 +0000 (22:13 +0000)]
Remove readfile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4826 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPassing invalid instance to dns isnt a good idea
brain [Wed, 9 Aug 2006 21:50:16 +0000 (21:50 +0000)]
Passing invalid instance to dns isnt a good idea

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4825 e03df62e-2008-0410-955e-edbf42e46eb7