9310 Commits

Author SHA1 Message Date
brain
9b697f0352 Incorrect documentation of cgi:irc password, thanks to Sm0ke0ut and rj_ for finding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11061 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 17:46:09 +00:00
brain
643e75680d Grr fucking windows grrrr fuckity fuckity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 17:20:37 +00:00
brain
2841f55d4b Fix some stuff for nationalchars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11058 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 16:56:07 +00:00
brain
ed809c886f Apply patch for bug #704 from Darom, shun:affectopers option -- Thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11057 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 16:28:03 +00:00
w00t
538f14e515 Add IDENTIFY aliases to default anope aliases example, just for Jobe :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11051 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 15:39:54 +00:00
w00t
c4d7f00f74 Add a snotice when a user tries to use WEBIRC without matching any configured blocks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11050 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 15:39:52 +00:00
w00t
f99398e114 Remove duplicate MacGyver.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11041 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-07 22:08:23 +00:00
brain
a43eecd510 Add ./configure --generate-{gnutls,openssl}-cert for easy re-generation of a certificate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11040 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-07 20:21:02 +00:00
brain
89249e32fc Patch for bug #704 by Darom, allows for 64 bit file offsets, so that signal 25 isnt raised if there is a 2gb logfile (really, WATCH YOUR LOGS)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11035 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06 23:48:25 +00:00
psychon
a64e860b26 Some fixes to the kqueue socket engine
The old code choked badly if a socket which was !eh->Readable() was added
(it went into an endless loop where kqueue would keep reporting that socket
for writeability).
This also fixes a bug where DelFd() failed to clean up properly which caused
the next AddFd() for an identical fd number to fail.
Oh and this also adds some error messages and does some minor cleanup...


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11033 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06 16:29:29 +00:00
w00t
842a7effba Document <connect deny> before <connect allow>, as tags are read top-down. Also document the order they are read in. Fixes bug #698, reported by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11032 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04 13:13:36 +00:00
w00t
56c4074af5 Add Ankit to regular contributors list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11031 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04 13:07:43 +00:00
w00t
821cdf4b10 Prioritize nicklock before nickflood, so nickflood does not erroneously count changes that nicklock blocks. Fixes bug #687, reported by Ankit.
TODO: split OnUserPreNick into OnCanChangeNick, to determine whether or not a user may strictly change nick or not?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11030 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04 13:07:43 +00:00
w00t
d8b04f5ea7 Allow SANICK, SVSNICK, NICKLOCK, etc to override +bN N:. Fixes bug #607 and #644, reported by SnoFox and others. Based on patch by Phoenix in bug #702. Thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11029 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04 12:50:19 +00:00
peavey
95fd083b58 fix little typo in syntax hint, type => action
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11027 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04 10:19:49 +00:00
w00t
9e29535857 Fix minor memory leak, patch by Darom. Closes bug #699. Thanks!`
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11025 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-03 21:06:47 +00:00
peavey
b57708f4da Fix a few typos spotted by dav7, thanks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11024 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-03 14:26:07 +00:00
dz
c24755c99f Don't prevent a user from seeing themself on NAMES if +D is set, fixes part of bug #697 reported by Ankit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11022 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-01 16:44:49 +00:00
peavey
a8e90d2305 Update headers for 2009
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11021 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-01 07:10:40 +00:00
dz
367e6738d8 Missing colon in the example conf, spotted by Casey.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11020 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-01 06:59:29 +00:00
danieldg
28de37791e Fix compile error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11018 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31 17:29:07 +00:00
brain
97ab3c404c Fix for bug #695. For now, we cant be sure what parts of the code might still use empty nick to signify a server, so lets just avoid messing with it until 1.2+1 and use this simple workaround instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11016 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31 15:59:11 +00:00
brain
f84bff3aa6 We already have an error for not enough params to the SERVER command, but the error is 'missing SID'. This error can be seen in snomask +l and is sent as ERROR to the connection. Changed to 'Not enough parameters for SERVER command', fixes bug #661
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11014 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31 15:46:53 +00:00
w00t
378b94da35 Remove an incorrect comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11013 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-28 16:30:52 +00:00
dz
1177426329 Note to self, cast time_t to long int for printf... thanks Ankit for pointing this out.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-28 11:27:10 +00:00
dz
fd820825ac Make xline expiry messages a bit clearer that the xline may have expired a while ago, and give the correct time since they were set instead of the duration.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11011 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-28 02:42:29 +00:00
w00t
dff3873d1b Credits updates.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11009 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-27 21:01:02 +00:00
psychon
5de0f22264 Fix the poll socketengine to actually work.
The old implementation tried to use holes for unused entries in the array for
poll() and the OS replied with POLLNVAL to which we replied with 100% CPU.
Improvements:
- It does compile!
- It works


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11008 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-27 18:37:23 +00:00
w00t
f5e34251d3 Check line expiry when touching an xline, to prevent huge buildup of stale lines chomping CPU.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11007 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-27 13:21:47 +00:00
w00t
b21e2d1c16 Allow +l 0 (for +PlL #newchan).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11006 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 23:22:49 +00:00
w00t
be542b535c This can't be case sensitive because it's not consistant, and also would break having two extbans of differing case but same letter on the same mask (+bb m:f M:f). Also found courtesy of Jason.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11005 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 19:57:07 +00:00
w00t
4eb76208a2 Format this message a little nicer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11004 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 19:36:54 +00:00
w00t
33956298d3 Fix m_nopartmsg using the wrong extban character in 005, noted thanks to Jason.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11003 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 19:27:51 +00:00
brain
0dd10bd16b This is more accurate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11002 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 15:25:54 +00:00
dz
8b69a6bed1 Properly check if the SSL handshake is completed in m_ssl_gnutls, fixes the recent issue where connections would hang with nothing recieved on either end until registration timeout. Also reverts r10998.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11000 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 03:59:36 +00:00
peavey
e6a079abdf clean some trailing space and fix a year on copyright
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10999 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 02:51:43 +00:00
brain
563ad5acb0 Try this as the ssl crash fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10998 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 01:09:22 +00:00
danieldg
02b4d6de57 Make startup script work under use strict (and test git-svn commits)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10997 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25 00:21:54 +00:00
psychon
b2920d53c2 Fix some spaces as indent and one double space in m_override so that Ankit is happy again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10996 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-24 15:03:00 +00:00
peavey
ca571fc1bf fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10995 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-24 13:31:09 +00:00
peavey
b06d9c4ad4 update copyright years
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10994 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-24 13:23:37 +00:00
brain
a575032e0a Remove unneccessary safety loop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10993 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23 14:05:33 +00:00
brain
f74980ad05 Adapt this to syntax guidelines for inspircd, and fix a bug where users whos nicks are currently a uid will be quit if this module unloads
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10992 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23 14:03:43 +00:00
brain
0b44d28a31 Templateise this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10991 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23 13:40:24 +00:00
brain
a3fb932831 Fix m_nationalchars using a copy and paste of my unsafe copy and paste algorithm, that will lock up if the string to replace contains the string to search for.
Finally make this function a core utility function and remove the copies from 3 modules m_alias m_nationalchars and m_sqlauth


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10990 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23 13:20:57 +00:00
w00t
4e1ae0981e Remove an unused event.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10989 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23 12:58:28 +00:00
w00t
5f5ed857af Fix bug 688, reported by Ankit: extended invexes don't work correctly at all. Thanks very much for your help tracking this down :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10988 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23 10:16:51 +00:00
brain
9bb31e58f8 Add $gecos, $ident, $server, $uuid vars for building possible auth queries. These are the 1.2 equivalent of sqlauth:useident, and more.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10987 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22 20:44:10 +00:00
brain
436fad2bf0 Fix for bug found by danieldg, where remote nicks were truncated to NICKMAX, but NICKMAX can now vary from server to server,
so only truncate the nickname for local nicknames. For remote nicknames, allow any length nickname up to MAXBUF (the max length
of an IRC line)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10984 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22 17:39:50 +00:00
brain
e1bca06658 Fix for bug #686, include sysctl.h in a freebsd-specific ifdef
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10983 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22 17:24:54 +00:00