summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-04-06Fix shun not applying if you add an IP mask for a user that has a host which ↵peavey
resolves. Spotted by Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11289 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-06Add support for nick targets like other xlines. Patch by Ankit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11288 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-06Weed out a few leftover server instances from before modules had ↵peavey
ServerInstance. Patch by Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11287 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-05Remove the unused RESOLVER_NOTREADY define and fix the spelling of ↵psychon
RESLOVER_FORCEUNLOAD git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11286 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-04Reapply r11241: flush and close log filehandles properly when the log is closed.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-04Don't do anything with logging in the handler for /REHASH.dz
What was here would close all of the logs and attempt to reopen only the startup log, resulting in a crash if the startup log had been properly closed already. Logs are already properly restarted when the config thread exits. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11284 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-03Use 'c' snomask instead of 'A' snomask for ldap auth failures, reported by ↵w00t
drich. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11283 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-03Textual fixes. Patch by Ankit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11282 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-02Fix up logic in m_allowinvite: extban A prevents /invite in all cases; ↵dz
channel mode A or extban exception A allow /invite in all cases. Fixes bug #819 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11281 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-01Add validation of parameters as a fix for bug #917, and add maxpara so that ↵brain
we don't need the : before the reason git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11278 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-01Fix ping server-skip logic from bug 792 fixdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11277 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-01Correct fix for bug #815, IPv6 code needs to check for IPv4 sa_family and ↵danieldg
handle it properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11276 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-01Partial revert of r11274 (m_ident binding, bug #815); the meaning of this ↵special
segment of code was completely reversed and broke ident binding alltogether. This part of the code may need other changes to make a full fix to #815. Remember - we're in feature freeze. Try to keep things focused on fixing the bugs, not cleaning up and refactoring code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11275 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-01Correct bind address of ident requests on multihomed IPv6-capable servers.danieldg
Fixes bug #815, reported by Szymek. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11274 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-01Use binary comparison of IP addresses when checking reverse/forward DNS ↵danieldg
match; fixes bug #814 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11272 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-29send ERR_NEEDMOREPARAMS if an empty parameter is given to STATS ('STATS :'), ↵dz
fixes bug #813 reported by Kazuma. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11271 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-27Make the message when reloading a command fails more accurate, and fix ↵dz
reloading commands after a failed reload. Fixes bug #776 reported by Taros, and bug #785. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11270 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-27Report the filter type the user supplied instead of the pattern when ↵dz
reporting an invalid type in m_filter, fixes bug #802 spotted by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11269 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-27Give pgsql some needed love. Dont use DNS, remove some unused hooks and its ↵peavey
not possible to work over unix socket, simply dont define host, or start with a slash to define the socket yourself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11268 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-27Fix potential crash on uninitialised varpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11267 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-27Don't use metadata in m_shun, this fixes problems with expiry reported by ↵w00t
Taros in bug #772. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11266 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-27Instead of emptying parameters on shunned PART, only empty the reason. Fixes ↵w00t
bug #810, reported by Casey and others. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11265 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25Make this compilepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11264 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25Fix some win32 compile errors, thanks for error output therock247ukdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11263 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25Fix a compilation errordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11262 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25more of the fix but it still doesnt build. I know we said this might be ↵brain
unstable, but when writing *windows* code can you all please make sure it BUILDS on windows??? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11261 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25start of fix for bug #805brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11260 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25Use LastParseParams in m_opermodes because mode paramaters like +s +* can be ↵danieldg
modified by the mode parser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11258 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23ConfigReaderThread updates: add done flag, remove main-thread-only mutexdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11256 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23Make this compile.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11255 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23Fix compile error due to mismergedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11254 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23Add test-compile checks for epoll and eventfddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11253 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23ThreadEngine: Allow interthread signaling without needing as many hacksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23ThreadEngine: remove MutexFactory, mutexes should be constructed using their ↵danieldg
constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23ThreadEngine: remove excessive mutex use on thread creationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23Check IsBanned even when the ban list is empty, so that module hooks get ↵danieldg
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-22Merge simple fix from Ankit, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11247 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22Revert r11241 due to crashiness when rehashing from IRC.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22No need to show the censored word twice! :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11245 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-22Apply ankit's patch for bug #780 with a minor tweak, re-introduce the ↵brain
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-22Nicer reworded numeric from ankit, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11243 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-21Actually close file log FDs when we're done with them.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20Fix a bad malloc (why the hell is it malloc???) in m_nationalcharsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11240 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-19Show users their own server name in "/whois myself"danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11236 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18Make m_dccallow reread badfiles on rehash, not just on load.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11235 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18fix dccallow logic to allow <badfile:action> to override ↵dz
<dccallow:defaultaction>, spotted by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11234 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18Fix for bug #791, if an error is set treat this as 'could not get certificate'brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11233 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18Fix for bug #784 reported by HiroP, add check to the FHOST code to not send ↵brain
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-18Fix for bug #788, set user->quitting before writing error to users socket, ↵brain
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-18Fix for bug #792 reported by recyclebin, do not attempt to ping local ↵brain
servers which are not fully connected yet, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11230 e03df62e-2008-0410-955e-edbf42e46eb7