]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoAdded cmode_s, skeleton mode handler for channel mode +s.
brain [Fri, 7 Jul 2006 14:22:55 +0000 (14:22 +0000)]
Added cmode_s, skeleton mode handler for channel mode +s.
The naming convention for this dir is as follows: cmode_* -> channel modes
umode_* -> user modes.
Case sensitive mode letters on the end of the name such as cmode_s etc. Note,
this dir can only hold the core RFC modes, so we won't get name collisions e.g.
S and s.

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

18 years agoMore stuff for m_pgsql in, provider-side API stuff semi-done
om [Fri, 7 Jul 2006 13:36:11 +0000 (13:36 +0000)]
More stuff for m_pgsql in, provider-side API stuff semi-done
Add m_sqlv2 header for the new API

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

18 years agochange std::string's to const std::string references for *Feature() funcs
om [Fri, 7 Jul 2006 13:34:10 +0000 (13:34 +0000)]
change std::string's to const std::string references for *Feature() funcs

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

18 years agoAdded InspSocket::WantWrite(), InspSocket::OnWriteReady() and private data methods...
brain [Fri, 7 Jul 2006 00:18:14 +0000 (00:18 +0000)]
Added InspSocket::WantWrite(), InspSocket::OnWriteReady() and private data methods to make it work.
See the XXX'ed section for a bit of minor craq

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

18 years agomodules.*: Put some void* back to char*, sorry if they were only like that because...
om [Fri, 7 Jul 2006 00:16:28 +0000 (00:16 +0000)]
modules.*: Put some void* back to char*, sorry if they were only like that because of me... :p

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

18 years agoAdd pippijn under code contributors for m_connflood
brain [Tue, 4 Jul 2006 10:38:47 +0000 (10:38 +0000)]
Add pippijn under code contributors for m_connflood

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

18 years agoAdded docs for conflood
brain [Mon, 3 Jul 2006 20:39:12 +0000 (20:39 +0000)]
Added docs for conflood

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

18 years agoChange InspSocket's private members to only be protected, I couldn't find any other...
om [Mon, 3 Jul 2006 16:39:09 +0000 (16:39 +0000)]
Change InspSocket's private members to only be protected, I couldn't find any other way to do this before we get around to rewriting the socket engine.
Commit very first, very alpha, not-very functional version of the PostgreSQL module. It compiles..and that's..err..about it

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

18 years agoSomeone made silence require 1 parameter, so no way to list the silence entries :p
brain [Mon, 3 Jul 2006 16:02:44 +0000 (16:02 +0000)]
Someone made silence require 1 parameter, so no way to list the silence entries :p

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

18 years agoAdd m_connflood, pippijn's connect throttle module (now we are offering another paid...
brain [Mon, 3 Jul 2006 15:34:06 +0000 (15:34 +0000)]
Add m_connflood, pippijn's connect throttle module (now we are offering another paid unreal feature for nothing :p)

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

18 years agoCleanups, change ugly if(\!*line.c_str()) to if(line.empty()); remove some craq..
om [Mon, 3 Jul 2006 12:56:31 +0000 (12:56 +0000)]
Cleanups, change ugly if(\!*line.c_str()) to if(line.empty()); remove some craq..

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

18 years agoJust to be really anal, typo fix in comment
om [Mon, 3 Jul 2006 12:43:02 +0000 (12:43 +0000)]
Just to be really anal, typo fix in comment

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

18 years agoTypo fixes to all the others too =/
om [Mon, 3 Jul 2006 12:39:36 +0000 (12:39 +0000)]
Typo fixes to all the others too =/

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

18 years agoMake spanningtree compile again >_<
om [Mon, 3 Jul 2006 12:30:22 +0000 (12:30 +0000)]
Make spanningtree compile again >_<

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

18 years agoTypo fix
om [Mon, 3 Jul 2006 12:28:38 +0000 (12:28 +0000)]
Typo fix

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

18 years agoEnhance with new numerics for latest turkish moron detection
brain [Sun, 2 Jul 2006 14:52:31 +0000 (14:52 +0000)]
Enhance with new numerics for latest turkish moron detection

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

18 years agorelocate the Move* methods to private: where they belong, rename erase_factory and...
brain [Sat, 1 Jul 2006 15:07:09 +0000 (15:07 +0000)]
relocate the Move* methods to private: where they belong, rename erase_factory and erase_module to be more appropriate EraseFactory and EraseModule methods

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

18 years agoMake WritePID a public function of class InspIRCd
brain [Sat, 1 Jul 2006 15:01:32 +0000 (15:01 +0000)]
Make WritePID a public function of class InspIRCd

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

18 years agoMove SetSignals(), Start() and DaemonSeed() into private methods of class InspIRCd...
brain [Sat, 1 Jul 2006 14:56:33 +0000 (14:56 +0000)]
Move SetSignals(), Start() and DaemonSeed() into private methods of class InspIRCd, move MakeLowerMap() into private: section

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

18 years agoChange WriteChannelWithServ and it's _NoFormat to take a const char* servername rathe...
om [Sat, 1 Jul 2006 14:40:53 +0000 (14:40 +0000)]
Change WriteChannelWithServ and it's _NoFormat to take a const char* servername rather than char* - although it doesn't seem to be used :<
Lose some more casts in m_spanningtree, unneeded because of above changes
Make xline_set_creation_time() take const char* rather than char* for it's first parameter, lose more casts in spanningtree because of this
Make do_whois take a const char* rather chan char* nick, lose yet more casts

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

18 years agoReplace rather craq'y loop with a couple of std::string calls
om [Sat, 1 Jul 2006 11:42:09 +0000 (11:42 +0000)]
Replace rather craq'y loop with a couple of std::string calls
Change GetServerDescription to take const char* rather than char*
Change userrec::server from char* to const char*, this is more 'correct' as it's not safe to modify it (pointer as returned by std::string::c_str())
Change WhoWasGroup::server, see above about userrec::server

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

18 years agoforward port of r4092
w00t [Sat, 1 Jul 2006 10:28:42 +0000 (10:28 +0000)]
forward port of r4092

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

18 years agoTweak to IS_LOCAL macro to exclude invalid fd's that are > MAX_DESCRIPTORS
brain [Fri, 30 Jun 2006 18:20:27 +0000 (18:20 +0000)]
Tweak to IS_LOCAL macro to exclude invalid fd's that are > MAX_DESCRIPTORS

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

18 years ago*** Interesting fix ***
brain [Fri, 30 Jun 2006 17:54:48 +0000 (17:54 +0000)]
*** Interesting fix ***
When a remote kill occurs, the user record for the remotely killed user may still hang around in the servers user list which is used when removing users during a netsplit.
I managed to duplicate the old 'crash on netsplit' bug by sending a remote kill to a server, and then squitting that server without receipt of the corresponding QUIT.
The fix now removes the user record explicitly upon remote kill (this also includes collisions)

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

18 years agoForward port of CullList and my bragging rights
special [Thu, 29 Jun 2006 15:35:42 +0000 (15:35 +0000)]
Forward port of CullList and my bragging rights

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

18 years agoAnd add the include to make all the modules compile...
om [Thu, 29 Jun 2006 15:01:28 +0000 (15:01 +0000)]
And add the include to make all the modules compile...

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

18 years agoThis already adds the file and line number itself, call do_log() rather than log...
om [Thu, 29 Jun 2006 14:23:35 +0000 (14:23 +0000)]
This already adds the file and line number itself, call do_log() rather than log() then

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

18 years agoYou don't need to cast a char* to a char* to put it through a const char*...
om [Thu, 29 Jun 2006 09:33:44 +0000 (09:33 +0000)]
You don't need to cast a char* to a char* to put it through a const char*...

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

18 years agoRemove hardcoded filename prefix to log message, with the new macro these are un...
om [Thu, 29 Jun 2006 09:29:14 +0000 (09:29 +0000)]
Remove hardcoded filename prefix to log message, with the new macro these are un-needed.
Remove un-needed cast, ffs guys, templates stop you needing to cast the stuff inside them... So why do you do it anyway? :<

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

18 years agoChange log() to a #define, the real symbol is now do_log(), the new macro auto-prefix...
om [Thu, 29 Jun 2006 08:30:25 +0000 (08:30 +0000)]
Change log() to a #define, the real symbol is now do_log(), the new macro auto-prefixes all log messages with the file and line number where log() was called - should be nice for debugging and telling wtf is coming from what.Currently uses a (probably very standard) g++ extension to make the macro work. Shouldn't be an issue.
You must make clean and rebuild all of insp.

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

18 years agoConvert char* to const char* in InspSocket constructor prototype. Shouldn't break...
om [Thu, 29 Jun 2006 07:00:25 +0000 (07:00 +0000)]
Convert char* to const char* in InspSocket constructor prototype. Shouldn't break anything but ought to help lose some ugleh casts... >:)

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

18 years agoAdded missing return in Server::UnpublishFeature()
special [Wed, 28 Jun 2006 15:20:25 +0000 (15:20 +0000)]
Added missing return in Server::UnpublishFeature()

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

18 years agoAdded SQLQuery::GetError() and removed a lot of space indenting
special [Wed, 28 Jun 2006 15:17:05 +0000 (15:17 +0000)]
Added SQLQuery::GetError() and removed a lot of space indenting

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

18 years agoMore stuff for allowing hostnames in <bind> and <link> again - note there is a FIXME...
brain [Wed, 28 Jun 2006 10:59:47 +0000 (10:59 +0000)]
More stuff for allowing hostnames in <bind> and <link> again - note there is a FIXME here.

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

18 years agoAllow binding to hosts again in <bind> and <link>
brain [Wed, 28 Jun 2006 10:53:02 +0000 (10:53 +0000)]
Allow binding to hosts again in <bind> and <link>

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

18 years agoAdd m_services_account
brain [Tue, 27 Jun 2006 23:12:30 +0000 (23:12 +0000)]
Add m_services_account

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

18 years agoCommenting
brain [Tue, 27 Jun 2006 20:58:49 +0000 (20:58 +0000)]
Commenting

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

18 years agoWe can re-enable special's security fix now - note this is good for boxes with one...
brain [Tue, 27 Jun 2006 17:57:01 +0000 (17:57 +0000)]
We can re-enable special's security fix now - note this is good for boxes with one or more static ip's and still doesnt resolve the issue for smelly dynamic-ip users (well boo hoo :p)

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

18 years agoAdded auto-binding, picks the first ip in the <bind> tags that isnt localhost or...
brain [Tue, 27 Jun 2006 17:45:59 +0000 (17:45 +0000)]
Added auto-binding, picks the first ip in the <bind> tags that isnt localhost or INADDR_ANY, and auto binds to that IP to allow us to put back the security tweak

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

18 years agoTemporarily disable special's security improvement until we have either/or bind=...
brain [Tue, 27 Jun 2006 17:09:41 +0000 (17:09 +0000)]
Temporarily disable special's security improvement until we have either/or bind= and mask=

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

18 years agoExtra safety for user lists to not keep bad pointers hanging about
brain [Sun, 25 Jun 2006 00:16:24 +0000 (00:16 +0000)]
Extra safety for user lists to not keep bad pointers hanging about

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

18 years agoDont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the channel...
brain [Sat, 24 Jun 2006 18:00:28 +0000 (18:00 +0000)]
Dont allow /REMOVE of a uline, dont allow /REMOVE of a user who isnt on the channel (*slaps* Om)

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

18 years agoForwardport of safety fixes for Write* functions
brain [Sat, 24 Jun 2006 14:43:36 +0000 (14:43 +0000)]
Forwardport of safety fixes for Write* functions

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

18 years agoForward port of samode edits
special [Fri, 23 Jun 2006 14:46:10 +0000 (14:46 +0000)]
Forward port of samode edits

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

18 years agoRemove un-needed cast, I have a horrible feeling I'll get stabbed for this. Please...
om [Fri, 23 Jun 2006 14:24:34 +0000 (14:24 +0000)]
Remove un-needed cast, I have a horrible feeling I'll get stabbed for this. Please let me know before you do...

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

18 years agom_services_account - now with 100 percent more elite.
w00t [Fri, 23 Jun 2006 08:40:31 +0000 (08:40 +0000)]
m_services_account - now with 100 percent more elite.

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

18 years agoI'm famous :>
special [Thu, 22 Jun 2006 13:38:20 +0000 (13:38 +0000)]
I'm famous :>

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

18 years agoForward port of server link DDoS/oper flood fix
special [Thu, 22 Jun 2006 13:32:52 +0000 (13:32 +0000)]
Forward port of server link DDoS/oper flood fix

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

18 years agoFix for ./inspircd restart not working half the time
special [Thu, 22 Jun 2006 10:26:33 +0000 (10:26 +0000)]
Fix for ./inspircd restart not working half the time

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

18 years agoAdded Server::PublishFeature(),
brain [Wed, 21 Jun 2006 12:31:54 +0000 (12:31 +0000)]
Added Server::PublishFeature(),
Server::UnpublishFeature(),
Server::FindFeature().
See comments in modules.h for usage

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

18 years agoClass Request and class Event now take a void* in their constructor to save on a...
brain [Tue, 20 Jun 2006 11:26:57 +0000 (11:26 +0000)]
Class Request and class Event now take a void* in their constructor to save on a cast.
Please note that the data type *returned* by GetData() in both cases is still char*, as
C++ will not let you return a void*. This to be addressed by someone else with templates
when they have the time.

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

18 years agoDon't allow non-ulines to kick ulines from channels - return numeric 482 if this...
brain [Tue, 20 Jun 2006 09:10:55 +0000 (09:10 +0000)]
Don't allow non-ulines to kick ulines from channels - return numeric 482 if this is attempted (you are not a chanop) with different text

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

18 years agoForward-port CBAN expiry fix
w00t [Mon, 19 Jun 2006 02:54:05 +0000 (02:54 +0000)]
Forward-port CBAN expiry fix

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

18 years agoOn remote kill, send KILL notice. mIRC doesnt seem happy with just the STANDARD messa...
brain [Sat, 17 Jun 2006 13:50:54 +0000 (13:50 +0000)]
On remote kill, send KILL notice. mIRC doesnt seem happy with just the STANDARD message, it wants specially crafted quit notices too, but i say fuck mIRC.

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

18 years agoBring forward fix for w00t.
brain [Sat, 17 Jun 2006 13:27:13 +0000 (13:27 +0000)]
Bring forward fix for w00t.
Note - umode +r may not be removed from a user when you svsnick them. Svsnick is not designed for this
type of "abuse" anyway and usually svsnick will only be used on someone who has no +r.

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

18 years agoFinished m_check. I am the best. It only took me 3 months :)
w00t [Sat, 17 Jun 2006 11:24:50 +0000 (11:24 +0000)]
Finished m_check. I am the best. It only took me 3 months :)

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

18 years agoNow only logs commands from local opers, that are oper commands they have permission...
brain [Fri, 16 Jun 2006 12:12:46 +0000 (12:12 +0000)]
Now only logs commands from local opers, that are oper commands they have permission to execute

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

18 years agoFix for m_ssl_openssl dying if the DH params file doesn't exist, compiles but unteste...
om [Fri, 16 Jun 2006 00:57:14 +0000 (00:57 +0000)]
Fix for m_ssl_openssl dying if the DH params file doesn't exist, compiles but untested cause I'm sleepy :(

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

18 years agoTweaks
brain [Thu, 15 Jun 2006 18:21:29 +0000 (18:21 +0000)]
Tweaks

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

18 years agoChange to stdint
brain [Thu, 15 Jun 2006 17:56:15 +0000 (17:56 +0000)]
Change to stdint

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

18 years agoHelper script for rpath of mysql
brain [Thu, 15 Jun 2006 13:33:18 +0000 (13:33 +0000)]
Helper script for rpath of mysql

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

18 years agoNow uses mysql_config and mysql_rpath.pl
brain [Thu, 15 Jun 2006 13:32:50 +0000 (13:32 +0000)]
Now uses mysql_config and mysql_rpath.pl

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

18 years agoNicer SQLQuery::Sanitise
brain [Thu, 15 Jun 2006 13:04:07 +0000 (13:04 +0000)]
Nicer SQLQuery::Sanitise

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

18 years agoLook at this further later - 64 bit fixes
brain [Thu, 15 Jun 2006 08:41:20 +0000 (08:41 +0000)]
Look at this further later - 64 bit fixes

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

18 years agoRemove reference to secret ChatSpike CC # detection features
om [Tue, 13 Jun 2006 14:16:56 +0000 (14:16 +0000)]
Remove reference to secret ChatSpike CC # detection features

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

18 years agoIf the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,
brain [Mon, 12 Jun 2006 15:57:51 +0000 (15:57 +0000)]
If the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,
then their ip will be taken as 'priority' anyway, so for example,
<connect allow="127.0.0.1"> will match joe!bloggs@localhost

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

18 years agoTest commit
brain [Thu, 8 Jun 2006 22:02:02 +0000 (22:02 +0000)]
Test commit

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

18 years agoFix for mode string getting cut, breaks on some +L
brain [Thu, 8 Jun 2006 22:00:25 +0000 (22:00 +0000)]
Fix for mode string getting cut, breaks on some +L

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

18 years agoFix for segfault if a user quits before their ident is complete, due to session limit...
brain [Wed, 7 Jun 2006 15:47:42 +0000 (15:47 +0000)]
Fix for segfault if a user quits before their ident is complete, due to session limit reached
Do this by checking their pointer in the fd_ref_table against the pointer we got when we started
the lookup, so we can know if its been invalidated or not (just in case the OnClose occurs
before we NULL the user)

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

18 years agoFix for collisions when clock is out
brain [Mon, 5 Jun 2006 20:16:11 +0000 (20:16 +0000)]
Fix for collisions when clock is out

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

18 years agoFix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys
brain [Sun, 4 Jun 2006 13:36:09 +0000 (13:36 +0000)]
Fix for an/a and vowel detection in "is an ircop" numeric, noticed by Smartys

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

18 years agoFix for bug found by douglas - when replace= is undefined value (probably due to...
brain [Sat, 3 Jun 2006 00:51:46 +0000 (00:51 +0000)]
Fix for bug found by douglas - when replace= is undefined value (probably  due to config error) a crash can occur, and this crash can (and will) propogate to other ircds on the network

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

18 years agoFixed logic for OnWhois "is using SSL" numeric. Was broken: required the user to...
brain [Thu, 1 Jun 2006 16:18:50 +0000 (16:18 +0000)]
Fixed logic for OnWhois "is using SSL" numeric. Was broken: required the user to have the 'ssl' extensible AND be in the listen ports, so it didnt work on remote users which didnt have the listen port.
Now properly checks to display by using: if(dest->GetExt("ssl") || (IS_LOCAL(dest) &&  isin(dest->port, listenports)))

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

18 years agoPrevent crash when displaying error for server already existing (this only happens...
brain [Wed, 31 May 2006 08:25:27 +0000 (08:25 +0000)]
Prevent crash when displaying error for server already existing (this only happens for lauren anyway)

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

18 years agoApply mirq's optimization patches
brain [Tue, 30 May 2006 20:43:15 +0000 (20:43 +0000)]
Apply mirq's optimization patches

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

18 years agoCorresponding forward-port
brain [Wed, 24 May 2006 11:22:23 +0000 (11:22 +0000)]
Corresponding forward-port

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

18 years agoMore debugging
brain [Wed, 24 May 2006 11:17:51 +0000 (11:17 +0000)]
More debugging

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

18 years agoPrevent SYNCTS bounce
brain [Wed, 24 May 2006 11:11:21 +0000 (11:11 +0000)]
Prevent SYNCTS bounce

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

18 years agoMore debug tracking
brain [Wed, 24 May 2006 10:54:12 +0000 (10:54 +0000)]
More debug tracking

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

18 years agoALL THROW A WHILD PARTY! CRASH-ON-NETSPLIT should be fixed!!!
brain [Wed, 24 May 2006 10:44:53 +0000 (10:44 +0000)]
ALL THROW A WHILD PARTY! CRASH-ON-NETSPLIT should be fixed!!!

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

18 years agoCheck for failed epoll or kqueue
brain [Tue, 16 May 2006 11:38:45 +0000 (11:38 +0000)]
Check for failed epoll or kqueue

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

18 years ago- Documentation fix: SELinux is not a distribution, but a patchset. Clarify.
nenolod [Sun, 14 May 2006 17:23:42 +0000 (17:23 +0000)]
- Documentation fix: SELinux is not a distribution, but a patchset. Clarify.

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

18 years agoBroken kline matching in connect code (reported by LeaChim)
brain [Sun, 14 May 2006 16:56:56 +0000 (16:56 +0000)]
Broken kline matching in connect code (reported by LeaChim)

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

18 years agoFix bug when knocking on non-existent channel
brain [Thu, 11 May 2006 21:52:29 +0000 (21:52 +0000)]
Fix bug when knocking on non-existent channel

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

18 years agoIncrease length of dhost
brain [Thu, 11 May 2006 21:43:46 +0000 (21:43 +0000)]
Increase length of dhost

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

18 years agoFix output corruption when host is exactly 64 chars long
brain [Wed, 10 May 2006 22:59:53 +0000 (22:59 +0000)]
Fix output corruption when host is exactly 64 chars long

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

18 years agoFix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK #chan nick...
brain [Wed, 10 May 2006 20:21:32 +0000 (20:21 +0000)]
Fix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK #chan nick :any reason
(yes, REALLY.)

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

18 years agoFixed to work with -j 3
brain [Mon, 8 May 2006 10:35:31 +0000 (10:35 +0000)]
Fixed to work with -j 3
On multiprocessor systems, do the initial make command with: make -j 3 (or whatever) and the -j option will recurse to the other make processes.

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

18 years agoLet ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on services...
brain [Sun, 7 May 2006 20:58:21 +0000 (20:58 +0000)]
Let ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on services packages is fixed :)

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

18 years agoLeaChim is a grammer nazee
om [Sun, 7 May 2006 11:00:53 +0000 (11:00 +0000)]
LeaChim is a grammer nazee

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

18 years agoAdded satmd's multi-channel patch, and matched with inspircd coding-style and indent...
brain [Sun, 7 May 2006 10:51:55 +0000 (10:51 +0000)]
Added satmd's multi-channel patch, and matched with inspircd coding-style and indent-style

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

18 years agoAdd new arguments to ./inspircd, 'screendebug' starts insp inside gdb and detaches...
om [Sun, 7 May 2006 10:10:53 +0000 (10:10 +0000)]
Add new arguments to ./inspircd, 'screendebug' starts insp inside gdb and detaches the session, 'valdebug' starts insp inside valgrind, valgrind will start gdb in the event of a crash, 'screenvaldebug' (ugleh name :[) does the same but runs valgrind in a detached screen session

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

18 years agoFixed char* -> std::string typo
brain [Sat, 6 May 2006 17:34:48 +0000 (17:34 +0000)]
Fixed char* -> std::string typo

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

18 years agoOper logging module -- this still needs test compiling and test running
brain [Sat, 6 May 2006 17:21:19 +0000 (17:21 +0000)]
Oper logging module -- this still needs test compiling and test running

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

18 years agoIgnore EAGAIN when write()ing
brain [Sat, 6 May 2006 15:31:52 +0000 (15:31 +0000)]
Ignore EAGAIN when write()ing

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

18 years agoChecks for negative fd's when adding them to the socketengine so we can generate...
brain [Wed, 3 May 2006 09:28:01 +0000 (09:28 +0000)]
Checks for negative fd's when adding them to the socketengine so we can generate less debug output

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

18 years agoReturn false was missing
brain [Wed, 3 May 2006 09:23:47 +0000 (09:23 +0000)]
Return false was missing

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

18 years agoNew header at the top of this file clarifying gplv2 only (we hadnt made it clear...
brain [Tue, 2 May 2006 20:33:21 +0000 (20:33 +0000)]
New header at the top of this file clarifying gplv2 only (we hadnt made it clear in this package before)

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

18 years agoForwardport (yes those do happen).
brain [Tue, 2 May 2006 19:42:04 +0000 (19:42 +0000)]
Forwardport (yes those do happen).
Because of a re-arrangement in the way sockets work, there is a chance a socket can still be in existence
after the user its connected to (in the case of ident) is no longer valid. Neatly NULL the value so we can
avoid goofing around in bad data.

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

18 years agoNeed checks in two places for escaping to work.
brain [Mon, 1 May 2006 19:40:23 +0000 (19:40 +0000)]
Need checks in two places for escaping to work.
First check when reading lines, to let the parser know that \" etc dont open new quotes or close them,
then second check when parsing that line so that the parser knows that \" etc dont delimit a value.

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