brain
87a4eb739f
This is a nicer fix, and we are seen to be explicitly freeing the BSTR values, which explicitly shows any reader of the code that this is a leak prevention measure
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11239 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 00:40:24 +00:00
brain
e0856f1221
Remove an old class member here that is no longer used and has been commented out for months
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11238 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 00:30:25 +00:00
brain
c70c31c7b7
This needs a test compile, i do not have my laptop to hand to do this. May break win32 build.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11237 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 00:06:21 +00:00
danieldg
ea4f54a4f0
Show users their own server name in "/whois myself"
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11236 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-19 16:58:00 +00:00
dz
c2a9bd6a13
Make m_dccallow reread badfiles on rehash, not just on load.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11235 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 19:15:26 +00:00
dz
e430a96554
fix dccallow logic to allow <badfile:action> to override <dccallow:defaultaction>, spotted by Taros.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11234 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 19:15:25 +00:00
brain
a36020d088
Fix for bug #791 , if an error is set treat this as 'could not get certificate'
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11233 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 11:00:51 +00:00
brain
1f610e7c1f
Fix for bug #784 reported by HiroP, add check to the FHOST code to not send out FHOST for unregistered users, there was already a check on OnMode hence why the +x didnt go out, just the host change.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11232 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 10:52:10 +00:00
brain
fc98fbf44d
Fix for bug #788 , set user->quitting before writing error to users socket, and allow appending to sendq for quitting users (just don't check sendq's on quitting users)
...
This allows the ERROR message to reach the user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11231 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 10:28:10 +00:00
brain
876fb47861
Fix for bug #792 reported by recyclebin, do not attempt to ping local servers which are not fully connected yet, thanks!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11230 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 10:22:38 +00:00
brain
15de65e1e4
Fix for bug #773 reported by Taros, thanks!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11229 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 10:03:55 +00:00
brain
2a89cef98a
fix for bug #777
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11228 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18 09:42:19 +00:00
psychon
495ea4be05
Instead of re adding the HandshakeTimer in m_spanningtree, make it a reoccurring timer and kill at the right time.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11227 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-16 17:44:06 +00:00
dz
789ddb96f5
Fix m_shun silently blocking allowed commands on shunned users, fixes bug #771 reported by Taros.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11225 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15 19:07:04 +00:00
dz
0a1476a05f
Use IS_OPER(u) instead of checking for umode +o to correctly add opers during bursts, fixes bugs #786 and #778 reported by Taros.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11224 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15 18:31:56 +00:00
psychon
b6dbd6caab
Update all wiki links to point to the new wiki. This was done automatically with the following command, only .Makefile.inc got some indent fixups by hand.
...
for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org# ' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/# ' -i $file ; done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15 12:42:35 +00:00
danieldg
bd12e3a4e6
Extban rework: allow exceptions to override bans on join
...
Move all bans that prevent a user from joining the channel to OnCheckBan,
then stack their return results to allow an exception to override a ban.
This does not make join exceptions override any other exception like mute.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11222 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 20:48:43 +00:00
dz
af90868aa9
Show the IP address only in zline added messages if *@ip was supplied.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11221 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 15:12:37 +00:00
dz
3c758944a9
Strip a zline target of anything resembling an ident prior to sanity checking rather than after, fixes bug #766 reported by Taros
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11220 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 15:12:36 +00:00
danieldg
976bf3c165
Allow commands to be reloaded when they previously failed to load
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11219 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 15:00:23 +00:00
danieldg
2c3f10316c
Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"
...
This check on uplink was not sufficient. It has been replaced by marking
children of a bursting server as bursting, so the uplink is no longer needed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11218 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 14:31:48 +00:00
danieldg
d1bfdcb613
Mark children of remote servers as bursting while their parent is bursting
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 14:31:40 +00:00
danieldg
cf18f3f7f8
Send remote BURST on new incoming server introduction
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11216 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 14:31:33 +00:00
peavey
944c34cad7
Fix links to wiki, noticed by Ankit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11215 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-14 14:26:30 +00:00
danieldg
78ae403e54
Fix bug #775 , GRELOADMODULE displays success message on failure. Reported by Taros
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11214 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-13 23:46:56 +00:00
danieldg
c0487eae4c
Fix bug #779 , SSL metadata sent using the wrong case. Thanks HiroP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-13 23:16:34 +00:00
peavey
284c22b4b5
Follow-up fix to r11081. Escalate minimum privileges from '%' to '@' if halfops are disabled by configuration. Possibly TODO: better handling of minimum privs after RC freeze is over.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11212 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-13 01:30:53 +00:00
special
d131485ce9
Fix an oper-triggerable crash on CBAN; found by Taros
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11211 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-12 05:09:38 +00:00
danieldg
f1a009a252
Remove out-of-date test.conf and empty dirs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11210 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-12 04:06:28 +00:00
w00t
4afaeda154
Send denied commands to the correct snomask (t, not d). Reported by HiroP.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11209 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11 17:50:18 +00:00
w00t
2e18d84e9b
More docs corrections.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11208 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11 12:10:48 +00:00
w00t
c7e2895cbd
Minor doc corrections.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11207 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11 12:10:43 +00:00
peavey
cbe57eb858
Make the ident module assume that a connect tag wants ident functionality unless told explicitly not, this matches the old behavior before the option was added.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11206 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11 05:44:27 +00:00
danieldg
1a1f8dfa4c
Fix ComparePass for servers not supporting HMAC-SHA256 when ChallengeResponse is on in configuration
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11205 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-11 01:25:56 +00:00
w00t
56d0bc899d
Fix win32 build issue.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11204 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 23:49:55 +00:00
danieldg
875b54b33c
Fix fast quit/connect by changing nick to UID on QuitUser
...
This requires moving the sending of the QUIT back to usermanager from cull_list
in order to prevent client desyncs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11203 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 22:56:09 +00:00
danieldg
516825e9dd
Send (last message repeated N times) snomask to log channel
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11202 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 22:56:02 +00:00
danieldg
606aa8f09b
Fix snomask stacking to only delay (last message repeated) part of the snomask
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11201 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 22:55:55 +00:00
w00t
255580c5f1
1.2.0rc2+PepperSteik
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11199 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc2
2009-03-10 21:33:47 +00:00
w00t
a280824d6f
Add doxygen configuration, in case someone wants to generate doxygen docs.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11198 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 21:30:09 +00:00
w00t
537624cb91
Apparantly someone can't figure out which index to check. Fixes CHGHOST with blank hosts, thanks Taros.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11196 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 20:41:12 +00:00
danieldg
63041954b1
Push password comparison logic into ComparePass, fixes authentication bug noticed by HiroP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 16:15:29 +00:00
brain
5a5a061c48
Quiet bursts for uplinks, suggested by HiroP, thanks!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11194 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 14:50:10 +00:00
w00t
f362a30e80
Flush snotices instantly on send (disable queueing) - in it's present form, it appears it annoys OCD opers. Will be reintroduced to be less irritating in future.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11193 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 23:33:02 +00:00
w00t
eb83f4b7a7
Add Taros to regular contributors list, too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11192 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 20:04:19 +00:00
w00t
dab5741204
Fix bug #751 (wallops are not being processed remotely), reported by Taros.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11191 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 19:32:06 +00:00
w00t
38c8e09fb6
Fix bug #764 (/stats i outputs numerics with uppercase I), reported by KingTarquin, thanks!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11190 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 19:11:24 +00:00
w00t
349b6b9193
Rewrite BufferedSocket::BindAddr to actually make sense, and not infinite loop under some conditions, etc. This also splits a lot of it into DoBindMagic(), for readability.
...
Seems to work okay on an invalid bind and nonexistant bind.. Fixes bug #754 , reported by HiroP and Indoril.
Fix FD leak in some circumstances: if bind fails hard (requested address couldn't be bound), Close() the socket. Also fixes a deficiency of the previous commit in that if one address failed to bind, the FD would be invalidated.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11189 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 18:51:07 +00:00
danieldg
63bdb9171f
An FJOIN is not bursting unless the source server is bursting
...
Fixes bug #755
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11188 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 16:17:57 +00:00
danieldg
3ddb8accad
Correctly fill LastParseParams on servermode. Fixes bug 763, thanks Ankit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11187 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-09 13:38:45 +00:00