]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
brain [Mon, 1 May 2006 19:29:41 +0000 (19:29 +0000)]
Ability to use the \ symbol to escape ascii values in a tag, e.g.:
<server name="\"Bollocks\" Said pooh, as he cought his testicles in the vice!">
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3922
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Apr 2006 21:59:38 +0000 (21:59 +0000)]
change to ability for QueryCount to return -1 for both of the 1.1 sql api's
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3921
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Apr 2006 21:57:10 +0000 (21:57 +0000)]
In 1.1, we return a negative value when QueryCount has a downed connection - not changed in 1.0 for backwards compatibility
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3920
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 30 Apr 2006 17:19:00 +0000 (17:19 +0000)]
Merge of peaveydk's diff (at last)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3918
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Apr 2006 19:38:29 +0000 (19:38 +0000)]
Synching of channel TS after a whole channel has been sent.
Please note that because a channels joins may consist of multiple FJOINs we cannot just sync the TS at the end of every FJOIN command otherwise we WILL get a desync.
Instead, we send a command after the last FJOIN for a channel which tells the other servers it is now ok to sync that channels timestamp.
(still to document: SYNCTS command in protocol docs)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3916
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Apr 2006 00:50:46 +0000 (00:50 +0000)]
Error checking of raise(), so that if theres no coredump and raise fails, we know why :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3915
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Apr 2006 00:44:48 +0000 (00:44 +0000)]
signal/raise in the sigsegv handler to re-raise the sig for a coredump
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3913
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 28 Apr 2006 00:13:15 +0000 (00:13 +0000)]
In static build save munged files as .m_name_static.cpp rather than m_name_static.cpp so they arent immediately visible, and less likely to be edited
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3912
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 27 Apr 2006 23:57:50 +0000 (23:57 +0000)]
When i find out what IDIOT changed all the module_init's to e.g. devoice_init and chanprotect_init, severely breaking them for no reason, im gonna trout them good!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3911
e03df62e -2008-0410-955e-
edbf42e46eb7