brain
db6ee71db2
Remove unused var
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6709 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24 18:51:48 +00:00
brain
4f4bef4b5f
Fix untidy debug output
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6708 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24 18:51:29 +00:00
brain
922069afab
Fix two things: (1) log gets replaced by a user fd after restart causing debug log to go to a user's status window (!)
...
(2) restart failing due to segfault within libc (this is because some moron decided that stdin, stdout, and stderr should still be non-null if the files arent actually open!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6707 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24 18:50:40 +00:00
special
97d1b1791c
m_showwhois now sends a message for remote whois as well
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6706 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24 17:13:43 +00:00
brain
d129d452d3
Check validity (length) of all NICK parameters to make sure we're not introducing a dodgy client (such as one introduced by dmb's dodgy program)
...
Normally, NICK parameters longer than allowed are weeded out by CAPAB but sending CAPAB is optional.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6705 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24 15:33:51 +00:00
brain
68faac1836
Remove unused variable
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6704 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-24 14:01:18 +00:00
brain
9d782b1f9b
Ident fixes, to make sure that if you dont get an ident reply you cant sneak through without a "~"
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6703 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-23 20:25:32 +00:00
brain
c4953ea1f5
ident over ipv6 fixes, and fixes to inspsocket BindAddr which wasnt doing ipv6 outbound connects properly. You'll need to restart to apply this one, dmb
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6702 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-23 20:14:43 +00:00
brain
c61b20a310
Tweak some stuff about
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6701 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-23 19:14:45 +00:00
brain
4a519ed201
Fix small memory leak
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6700 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-23 19:08:37 +00:00
brain
636f6a023f
Fix high-bandwidth stuff with inspsocket+ssl, and eagain
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6699 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22 20:21:03 +00:00
brain
70f57afea5
EAGAIN fixes for gnutls
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6698 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22 19:36:16 +00:00
brain
5592a5c930
We're checking for non-null session->sess in VerifyCertificate now. theres very little else we can do, as we know that *whenever* we clear an ssl session, we set this to null.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6697 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22 19:08:00 +00:00
brain
9769b27a2f
Some tweaks for gnutls
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6696 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22 18:55:37 +00:00
brain
3c68d83766
More checks in IS_HSDONE event hook
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6695 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22 18:38:38 +00:00
brain
e063722fa2
Fix crashes in ipv6 ssl using gnutls, and crashes when linking ssl to non-ssl by mistake, bug #245
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-22 18:12:03 +00:00
w00t
6b08aec287
Update a notice on server already existing to be more clear
...
- Update ModDesc for m_hidechans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6693 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-20 10:09:41 +00:00
brain
35de5a9acb
Remove two pointless casts, and remove some space indenting (how does this keep sneaking back)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6692 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-18 21:45:30 +00:00
brain
54b0eba65d
Change back to FMODE for channel mode changes from users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6691 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-18 17:00:23 +00:00
brain
0f6de0b183
set the TS of a channel in JoinUser, not after the entire FJOIN, this is safer and may fix the odd desync here and there
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6690 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-18 16:52:56 +00:00
brain
3699bdaee5
Abort link at +/- 300secs, warn at +/- 30 secs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6689 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-17 19:22:32 +00:00
brain
813b671227
Remote /MODULES
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6688 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 22:34:00 +00:00
brain
df2faa39f2
Remove <options:timesync>, add <timesync enable="no" master="no"> ...and document it in the example conf
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6687 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 18:35:22 +00:00
brain
8a45556395
Now syncs with the master every 10 mins
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6686 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 18:23:53 +00:00
brain
a94396b327
Wtf, ive found the source of the drift, it adds the old delta to the new!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6685 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 18:19:22 +00:00
brain
0ce46290ae
Improve this to show time with and without delta, without the user having to work it out in their head
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6684 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 17:53:53 +00:00
brain
5bbc794c7d
Different timesync, dont use yet
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6683 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 17:42:51 +00:00
peavey
49b81e8332
Optimise caps loop making it real neat. Thx Brain.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6682 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 00:44:20 +00:00
peavey
7c59b25d64
Change wording of 404 numeric to reflect that it's minlen or more.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6681 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-16 00:36:21 +00:00
peavey
5846a67c86
Change the numeric text to match the new configuration. Tidyup comments and DEBUG.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6680 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 23:50:43 +00:00
peavey
9dc59e5696
Add capsmap to m_blockcaps in example.conf
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6679 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 23:39:34 +00:00
peavey
1ea65ff796
Add support for MAP of chars considered to be CAPS to config for better control.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6678 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 23:39:03 +00:00
brain
371bba9cf6
Seems netsplit.de changed hosts to echo940.server4you.de.
...
Add this to the default securelist config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6677 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 19:18:32 +00:00
brain
38ca8be9a3
Add third parameter to OnUserQuit (quit reason for opers only) - bump api version
...
Add SetOperQuit and GetOperQuit methods to userrec
Add OPERQUIT command to protocol - bump protocol version
All this is to properly allow hidebans etc to work properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 17:37:25 +00:00
special
d1dc60e83e
Fixed hidebans behavior to not always be on as well; there are probablyother issues here, see #243
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6674 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 05:16:31 +00:00
special
7c197db72e
Someone is getting slapped for this; the new hidesplits/hidebans behavior doesn't actually check if those options are enabled.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6673 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15 05:04:51 +00:00
brain
98df7c960c
Fix blockcaps. Who on earth thought that percentage was x*100 / y ???
...
Its (x/y)*100, muppets :p
(also, you cant do floating point maths on integers)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6672 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-14 17:55:26 +00:00
brain
4d9af8667f
Fix /who thing that dmb spotted
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6671 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-13 23:17:32 +00:00
brain
8dee35328f
Tag with 1.1.3 version name (StinkingBishop)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6669 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.3
2007-03-13 21:48:03 +00:00
brain
ba8b12694b
Make /stats P show 'secs' after idle times
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6667 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-12 23:31:18 +00:00
peavey
ac715d5f1a
cleanup indentation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6664 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 20:47:09 +00:00
brain
8f54796527
Remove stray "Notice:" - text only change
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6663 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 19:39:39 +00:00
brain
29771d3c4f
Fix minor bug, number of users listing doesnt decrement if a user quits while they are in the middle of listing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6662 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 18:30:44 +00:00
brain
6e39012553
Fix malformed notice
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6661 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 16:27:02 +00:00
brain
d46fc56ef0
Document OnBufferFlushed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6660 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 16:23:58 +00:00
brain
b55018d0f4
Remove debug
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6659 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 16:04:00 +00:00
brain
98bea6aca4
Add safelist:maxlisters which prevents more than x number of people doing a LIST at the same time.
...
(as i've just noticed, 500 bots all doing LIST at once can severely lag your ircd)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6658 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 16:01:56 +00:00
brain
52214a3195
Added OnBufferFlush, improved m_safelist, no longer works on a timer but works on the writeability state of each user who is listing.
...
Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6657 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 15:53:34 +00:00
special
9802f6f935
Fixed a crash with a malformed server-to-server NICK command, thanks dmb
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6656 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 07:27:01 +00:00
brain
459658d0fc
Just comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6655 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11 04:53:11 +00:00