summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-16Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵w00t
'A' for remote announcements. Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-16Correctly announce dnsbl hits, fixes bug #833 reported by Milliways.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11303 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-16Fix bug #826: setting +l 0 doesn't work in some cases. Just don't check for ↵w00t
+l to an existing limit at all, as there isn't a lot of point to it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11302 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-10Register the OnUserPreJoin hook, and check for null channel firstdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11301 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-10Move +O check out of OnCheckBan to change error message and avoid triggering ↵danieldg
restrictbanned git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11300 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09Re-add the default case to commandline parsing (if it happens, it's better ↵special
to know than to do nothing) and fix a small typo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11299 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09The correct way to detect unknown parameter for getopt_long_only() is ↵brain
looking for '?' param, not \0. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11298 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09If you're going to add magical number hacks, please comment them ↵w00t
appropriately to reduce future maintenence burden. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11297 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09Readd documentation that just managed to vanish into thin air...w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11296 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09Fix the problem described in bug #827; an improper cast when parsing ↵special
commandline parameters caused the ircd to not run at all on platforms with unsigned char (i.e. PPC). There may be other issues with unsigned char, testing and reports welcome. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11294 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-08Example configuration updates from jdhoredanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11293 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-08Set topic timestamp on newly created channels to a dummy value to work ↵danieldg
around bug #739 without protocol changes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11292 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-07Fix irc_char_traits::find to behave correctly when the character is not ↵special
found. Bug #823, patch by Phoenix Fledgeling git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11291 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-06m_shun: Allow nick targets for removal as well, in the same format as additionspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11290 e03df62e-2008-0410-955e-edbf42e46eb7
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-01m_timedbans was incorrectly listed as oper-only in the example config. Found ↵special
by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11279 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-01Fix incorrect double-negative in help textdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11273 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-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