9476 Commits

Author SHA1 Message Date
danieldg
85a787b92b usleep() is no longer needed, and should not be needed in the future
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 18:48:58 +00:00
danieldg
59dbcc1245 ThreadEngine: Allow interthread signaling without needing as many hacks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 18:48:51 +00:00
danieldg
f9e6de5284 ThreadEngine: remove MutexFactory, mutexes should be constructed using their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 18:48:42 +00:00
danieldg
7b6eae3666 ThreadEngine: remove excessive mutex use on thread creation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 18:48:32 +00:00
danieldg
7f318a3325 Check IsBanned even when the ban list is empty, so that module hooks get called. Fixes bug #800, reported by Taros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 03:32:01 +00:00
brain
e6edce78ab Merge simple fix from Ankit, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11247 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22 21:55:08 +00:00
dz
c6b11d2130 Revert r11241 due to crashiness when rehashing from IRC.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22 20:34:24 +00:00
brain
097e4e9a4c No need to show the censored word twice! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11245 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22 18:47:22 +00:00
brain
fa2d0dd4f0 Apply ankit's patch for bug #780 with a minor tweak, re-introduce the 4-param 404 numeric, this should not affect any clients but should make scripts and bots lives easier. Thanks ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11244 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22 18:43:42 +00:00
brain
d84050a6c8 Nicer reworded numeric from ankit, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11243 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22 14:44:43 +00:00
dz
83ef6107c1 Update the list of <options:exemptchanops> supported modes. Fixes bug #798 reported by Taros, patch by jdhore -- thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11242 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-21 18:04:17 +00:00
dz
2699c4d764 Actually close file log FDs when we're done with them.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-21 17:40:35 +00:00
brain
509f691a3c Fix a bad malloc (why the hell is it malloc???) in m_nationalchars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11240 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 13:30:46 +00:00
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