]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Thu, 17 Aug 2006 21:21:33 +0000 (21:21 +0000)]
Optimize tons more timer checking stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4938
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Aug 2006 21:08:09 +0000 (21:08 +0000)]
DoSocketTimeouts and TickTimers only need to be called once a second. Why they were being called once every time around the mainloop, up to 30 times a second, is beyond me.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4937
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Aug 2006 14:47:54 +0000 (14:47 +0000)]
Add modules.h to cmd_connect.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4936
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Aug 2006 14:23:22 +0000 (14:23 +0000)]
Just comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4935
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Aug 2006 14:18:18 +0000 (14:18 +0000)]
Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4934
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 17 Aug 2006 14:16:15 +0000 (14:16 +0000)]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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