summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25Fix headers for GCC 4.4: sprintf requires #include <cstdio>danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11259 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-23Fix configure check for eventfd, HAS_EVENTFD is true/false not 1/0danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11257 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-23usleep() is no longer needed, and should not be needed in the futuredanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252 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-21Update the list of <options:exemptchanops> supported modes. Fixes bug #798 ↵dz
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-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-20This is a nicer fix, and we are seen to be explicitly freeing the BSTR ↵brain
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-20Remove an old class member here that is no longer used and has been ↵brain
commented out for months git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11238 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20This needs a test compile, i do not have my laptop to hand to do this. May ↵brain
break win32 build. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11237 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
2009-03-18Fix for bug #773 reported by Taros, thanks!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11229 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-18fix for bug #777brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11228 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-16Instead of re adding the HandshakeTimer in m_spanningtree, make it a ↵psychon
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-15Fix m_shun silently blocking allowed commands on shunned users, fixes bug ↵dz
#771 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11225 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Use IS_OPER(u) instead of checking for umode +o to correctly add opers ↵dz
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-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
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-14Extban rework: allow exceptions to override bans on joindanieldg
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-14Show the IP address only in zline added messages if *@ip was supplied.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11221 e03df62e-2008-0410-955e-edbf42e46eb7