]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoSomeone forgot to git add. This is part of r11082 (add locate cjk-utf8)
peavey [Wed, 11 Feb 2009 10:57:07 +0000 (10:57 +0000)]
Someone forgot to git add. This is part of r11082 (add locate cjk-utf8)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11083 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPatch by Phoenix
peavey [Wed, 11 Feb 2009 10:51:18 +0000 (10:51 +0000)]
Patch by Phoenix
* adds line 8 for additional UTF-8 ranges
* adds cjk-utf8 locale
* fixes check 3.2 and adds check 3.3

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11082 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 reported by...
peavey [Wed, 11 Feb 2009 03:09:01 +0000 (03:09 +0000)]
Remove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 reported by Strawberry.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11081 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPrevent fantasy aliases from blocking user commands (eg. !topic would prevent users...
dz [Tue, 10 Feb 2009 02:26:44 +0000 (02:26 +0000)]
Prevent fantasy aliases from blocking user commands (eg. !topic would prevent users from using /topic).
Also as a result of this change, any aliases where the command does not actually exist and are either strictly fantasy commands or no formats match will result in a unknown command message.
Fixes bug #714, spotted by CJ -- thanks.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11080 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove space before first user in FJOIN; also call c->ChanModes less for large channels
danieldg [Mon, 9 Feb 2009 22:12:27 +0000 (22:12 +0000)]
Remove space before first user in FJOIN; also call c->ChanModes less for large channels

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11079 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix merge FJOIN debug message
danieldg [Mon, 9 Feb 2009 21:46:21 +0000 (21:46 +0000)]
Fix merge FJOIN debug message

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11078 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoStill restart inspircd if the previous instance didn't die quietly, fixes bug #713...
dz [Mon, 9 Feb 2009 19:55:56 +0000 (19:55 +0000)]
Still restart inspircd if the previous instance didn't die quietly, fixes bug #713 reported by Ankit.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11077 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDocument shun:affectopers with patch provided by Ankit, closing bug #710, thanks!
brain [Mon, 9 Feb 2009 12:39:54 +0000 (12:39 +0000)]
Document shun:affectopers with patch provided by Ankit, closing bug #710, thanks!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11070 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMerge fantasy:allowbots patch from Taros, closing off bug #709, thanks!
brain [Mon, 9 Feb 2009 12:38:04 +0000 (12:38 +0000)]
Merge fantasy:allowbots patch from Taros, closing off bug #709, thanks!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11069 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoTrap SIGXFSZ
brain [Mon, 9 Feb 2009 09:11:20 +0000 (09:11 +0000)]
Trap SIGXFSZ

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11067 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix: always have a colon marking the last FJOIN parameter, otherwise servers are...
w00t [Sun, 8 Feb 2009 22:56:08 +0000 (22:56 +0000)]
Fix: always have a colon marking the last FJOIN parameter, otherwise servers are going to try to add users to servers on perm channels with modes, etc.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11066 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAllow this to handle RC style names
brain [Sun, 8 Feb 2009 18:22:41 +0000 (18:22 +0000)]
Allow this to handle RC style names

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11063 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThe cow is ready, come get it!!! :D
brain [Sun, 8 Feb 2009 17:54:17 +0000 (17:54 +0000)]
The cow is ready, come get it!!! :D

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11062 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoIncorrect documentation of cgi:irc password, thanks to Sm0ke0ut and rj_ for finding
brain [Sun, 8 Feb 2009 17:46:09 +0000 (17:46 +0000)]
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

15 years agoGrr fucking windows grrrr fuckity fuckity
brain [Sun, 8 Feb 2009 17:20:37 +0000 (17:20 +0000)]
Grr fucking windows grrrr fuckity fuckity

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix some stuff for nationalchars
brain [Sun, 8 Feb 2009 16:56:07 +0000 (16:56 +0000)]
Fix some stuff for nationalchars

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11058 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoApply patch for bug #704 from Darom, shun:affectopers option -- Thanks!
brain [Sun, 8 Feb 2009 16:28:03 +0000 (16:28 +0000)]
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

15 years agoAdd IDENTIFY aliases to default anope aliases example, just for Jobe :)
w00t [Sun, 8 Feb 2009 15:39:54 +0000 (15:39 +0000)]
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

15 years agoAdd a snotice when a user tries to use WEBIRC without matching any configured blocks.
w00t [Sun, 8 Feb 2009 15:39:52 +0000 (15:39 +0000)]
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

15 years agoRemove duplicate MacGyver.
w00t [Sat, 7 Feb 2009 22:08:23 +0000 (22:08 +0000)]
Remove duplicate MacGyver.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11041 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd ./configure --generate-{gnutls,openssl}-cert for easy re-generation of a certificate
brain [Sat, 7 Feb 2009 20:21:02 +0000 (20:21 +0000)]
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

15 years agoPatch for bug #704 by Darom, allows for 64 bit file offsets, so that signal 25 isnt...
brain [Fri, 6 Feb 2009 23:48:25 +0000 (23:48 +0000)]
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

15 years agoSome fixes to the kqueue socket engine
psychon [Fri, 6 Feb 2009 16:29:29 +0000 (16:29 +0000)]
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

15 years agoDocument <connect deny> before <connect allow>, as tags are read top-down. Also docum...
w00t [Wed, 4 Feb 2009 13:13:36 +0000 (13:13 +0000)]
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

15 years agoAdd Ankit to regular contributors list
w00t [Wed, 4 Feb 2009 13:07:43 +0000 (13:07 +0000)]
Add Ankit to regular contributors list

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11031 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPrioritize nicklock before nickflood, so nickflood does not erroneously count changes...
w00t [Wed, 4 Feb 2009 13:07:43 +0000 (13:07 +0000)]
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

15 years agoAllow SANICK, SVSNICK, NICKLOCK, etc to override +bN N:. Fixes bug #607 and #644...
w00t [Wed, 4 Feb 2009 12:50:19 +0000 (12:50 +0000)]
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

15 years agofix little typo in syntax hint, type => action
peavey [Wed, 4 Feb 2009 10:19:49 +0000 (10:19 +0000)]
fix little typo in syntax hint, type => action

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11027 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix minor memory leak, patch by Darom. Closes bug #699. Thanks!`
w00t [Tue, 3 Feb 2009 21:06:47 +0000 (21:06 +0000)]
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

15 years agoFix a few typos spotted by dav7, thanks.
peavey [Tue, 3 Feb 2009 14:26:07 +0000 (14:26 +0000)]
Fix a few typos spotted by dav7, thanks.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11024 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't prevent a user from seeing themself on NAMES if +D is set, fixes part of bug...
dz [Sun, 1 Feb 2009 16:44:49 +0000 (16:44 +0000)]
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

15 years agoUpdate headers for 2009
peavey [Sun, 1 Feb 2009 07:10:40 +0000 (07:10 +0000)]
Update headers for 2009

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11021 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMissing colon in the example conf, spotted by Casey.
dz [Sun, 1 Feb 2009 06:59:29 +0000 (06:59 +0000)]
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

15 years agoFix compile error
danieldg [Sat, 31 Jan 2009 17:29:07 +0000 (17:29 +0000)]
Fix compile error

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11018 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #695. For now, we cant be sure what parts of the code might still use...
brain [Sat, 31 Jan 2009 15:59:11 +0000 (15:59 +0000)]
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

15 years agoWe already have an error for not enough params to the SERVER command, but the error...
brain [Sat, 31 Jan 2009 15:46:53 +0000 (15:46 +0000)]
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

15 years agoRemove an incorrect comment
w00t [Wed, 28 Jan 2009 16:30:52 +0000 (16:30 +0000)]
Remove an incorrect comment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11013 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoNote to self, cast time_t to long int for printf... thanks Ankit for pointing this...
dz [Wed, 28 Jan 2009 11:27:10 +0000 (11:27 +0000)]
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

15 years agoMake xline expiry messages a bit clearer that the xline may have expired a while...
dz [Wed, 28 Jan 2009 02:42:29 +0000 (02:42 +0000)]
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

15 years agoCredits updates.
w00t [Tue, 27 Jan 2009 21:01:02 +0000 (21:01 +0000)]
Credits updates.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11009 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix the poll socketengine to actually work.
psychon [Tue, 27 Jan 2009 18:37:23 +0000 (18:37 +0000)]
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

15 years agoCheck line expiry when touching an xline, to prevent huge buildup of stale lines...
w00t [Tue, 27 Jan 2009 13:21:47 +0000 (13:21 +0000)]
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

15 years agoAllow +l 0 (for +PlL #newchan).
w00t [Sun, 25 Jan 2009 23:22:49 +0000 (23:22 +0000)]
Allow +l 0 (for +PlL #newchan).

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11006 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis can't be case sensitive because it's not consistant, and also would break having...
w00t [Sun, 25 Jan 2009 19:57:07 +0000 (19:57 +0000)]
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

15 years agoFormat this message a little nicer.
w00t [Sun, 25 Jan 2009 19:36:54 +0000 (19:36 +0000)]
Format this message a little nicer.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11004 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix m_nopartmsg using the wrong extban character in 005, noted thanks to Jason.
w00t [Sun, 25 Jan 2009 19:27:51 +0000 (19:27 +0000)]
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

15 years agoThis is more accurate
brain [Sun, 25 Jan 2009 15:25:54 +0000 (15:25 +0000)]
This is more accurate

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11002 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoProperly check if the SSL handshake is completed in m_ssl_gnutls, fixes the recent...
dz [Sun, 25 Jan 2009 03:59:36 +0000 (03:59 +0000)]
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

15 years agoclean some trailing space and fix a year on copyright
peavey [Sun, 25 Jan 2009 02:51:43 +0000 (02:51 +0000)]
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

15 years agoTry this as the ssl crash fix
brain [Sun, 25 Jan 2009 01:09:22 +0000 (01:09 +0000)]
Try this as the ssl crash fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10998 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake startup script work under use strict (and test git-svn commits)
danieldg [Sun, 25 Jan 2009 00:21:54 +0000 (00:21 +0000)]
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

15 years agoFix some spaces as indent and one double space in m_override so that Ankit is happy...
psychon [Sat, 24 Jan 2009 15:03:00 +0000 (15:03 +0000)]
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

15 years agofix typo
peavey [Sat, 24 Jan 2009 13:31:09 +0000 (13:31 +0000)]
fix typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10995 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoupdate copyright years
peavey [Sat, 24 Jan 2009 13:23:37 +0000 (13:23 +0000)]
update copyright years

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10994 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove unneccessary safety loop
brain [Fri, 23 Jan 2009 14:05:33 +0000 (14:05 +0000)]
Remove unneccessary safety loop

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10993 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdapt this to syntax guidelines for inspircd, and fix a bug where users whos nicks...
brain [Fri, 23 Jan 2009 14:03:43 +0000 (14:03 +0000)]
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

15 years agoTemplateise this
brain [Fri, 23 Jan 2009 13:40:24 +0000 (13:40 +0000)]
Templateise this

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10991 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix m_nationalchars using a copy and paste of my unsafe copy and paste algorithm...
brain [Fri, 23 Jan 2009 13:20:57 +0000 (13:20 +0000)]
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

15 years agoRemove an unused event.
w00t [Fri, 23 Jan 2009 12:58:28 +0000 (12:58 +0000)]
Remove an unused event.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10989 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug 688, reported by Ankit: extended invexes don't work correctly at all. Thanks...
w00t [Fri, 23 Jan 2009 10:16:51 +0000 (10:16 +0000)]
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

15 years agoAdd $gecos, $ident, $server, $uuid vars for building possible auth queries. These...
brain [Thu, 22 Jan 2009 20:44:10 +0000 (20:44 +0000)]
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

15 years agoFix for bug found by danieldg, where remote nicks were truncated to NICKMAX, but...
brain [Thu, 22 Jan 2009 17:39:50 +0000 (17:39 +0000)]
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

15 years agoFix for bug #686, include sysctl.h in a freebsd-specific ifdef
brain [Thu, 22 Jan 2009 17:24:54 +0000 (17:24 +0000)]
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

15 years agoUpdate copyright date.
w00t [Thu, 22 Jan 2009 15:15:05 +0000 (15:15 +0000)]
Update copyright date.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10982 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix a small warning (char being used as array subscript) by just using int instead.
w00t [Thu, 22 Jan 2009 15:14:36 +0000 (15:14 +0000)]
Fix a small warning (char being used as array subscript) by just using int instead.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10981 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFixes bug #655: National characters support, patch written mostly by Phoenix, bits...
w00t [Thu, 22 Jan 2009 15:14:22 +0000 (15:14 +0000)]
Fixes bug #655: National characters support, patch written mostly by Phoenix, bits of core support by myself. This means that nicknames using *non ASCII* are now supported when configured, and more importantly, that /msg lowercasenick will go to a person with UPPERCASENICK in foreign character sets. The locale setting MUST be the same network-wide.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10980 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug #659, #524 and others: Allow operoverride to set +qa. Based on patch by Phoen...
w00t [Thu, 22 Jan 2009 15:02:37 +0000 (15:02 +0000)]
Fix bug #659, #524 and others: Allow operoverride to set +qa. Based on patch by Phoenix. Note that this is currently untested, feedback is very welcome.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10979 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug #678 reported by Ankit (opertype invex wasn't working, as I failed and forgot...
w00t [Thu, 22 Jan 2009 14:17:24 +0000 (14:17 +0000)]
Fix bug #678 reported by Ankit (opertype invex wasn't working, as I failed and forgot to hook the damn event.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10978 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoTone down some logging to make debugging a tiny bit easier.
w00t [Thu, 22 Jan 2009 14:17:22 +0000 (14:17 +0000)]
Tone down some logging to make debugging a tiny bit easier.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10977 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSmall fix: don't set default modes when joining if usercount == 0, set if it was...
w00t [Thu, 22 Jan 2009 14:17:15 +0000 (14:17 +0000)]
Small fix: don't set default modes when joining if usercount == 0, set if it was actually created locally - this is needed due to +P.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10976 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRevert "Check nickname validity on introduction, closes bug #682 reported by danieldg...
w00t [Thu, 22 Jan 2009 13:51:35 +0000 (13:51 +0000)]
Revert "Check nickname validity on introduction, closes bug #682 reported by danieldg (thanks)."
This broke stuff.

This reverts commit 4d29ae6cc6c4f5ba410b58cc0807f018484f6447.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10975 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCheck nickname validity on introduction, closes bug #682 reported by danieldg (thanks).
w00t [Wed, 21 Jan 2009 17:19:20 +0000 (17:19 +0000)]
Check nickname validity on introduction, closes bug #682 reported by danieldg (thanks).

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10974 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoHmm, why didnt this go through before?
brain [Sun, 18 Jan 2009 20:10:12 +0000 (20:10 +0000)]
Hmm, why didnt this go through before?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10973 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMissed one, thx peavey!
w00t [Sun, 18 Jan 2009 13:12:22 +0000 (13:12 +0000)]
Missed one, thx peavey!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10972 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix what should have been the (real) problems with kqueue, so far so good for me...
w00t [Sun, 18 Jan 2009 12:19:01 +0000 (12:19 +0000)]
Fix what should have been the (real) problems with kqueue, so far so good for me.. this *does* need more testing though. Fix spotted by dz (check .filter, not .flags, and don't try to use it as a bitmask). TOR, ratbox, and similar projects use code like this, so I am fairly confident it is ok.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10971 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRevert "Revert some of w00ts kqueue massacre from september, for some reason its...
w00t [Sun, 18 Jan 2009 12:19:00 +0000 (12:19 +0000)]
Revert "Revert some of w00ts kqueue massacre from september, for some reason its not too stable, e.g. placing wantwrite sockets into oneshot wantread? :P"

This reverts commit 11302829a008263dc306d08d675ad49d7d3f62ab.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10970 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug #673, reported by Ankit: various cosmetic issues with filter. Patch from...
w00t [Sun, 18 Jan 2009 12:18:59 +0000 (12:18 +0000)]
Fix bug #673, reported by Ankit: various cosmetic issues with filter. Patch from Ankit.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10969 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug #680, reported by Namegduf: 1.2 SHUN does not respect the notifyuser option...
w00t [Sun, 18 Jan 2009 12:18:58 +0000 (12:18 +0000)]
Fix bug #680, reported by Namegduf: 1.2 SHUN does not respect the notifyuser option, and always notifies the user that their command was blocked.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10968 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix a small typo in shun notice, reported by Ankit. Closes bug #666. (!)
w00t [Sun, 18 Jan 2009 12:18:54 +0000 (12:18 +0000)]
Fix a small typo in shun notice, reported by Ankit. Closes bug #666. (!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10967 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #679 reported by Namegduf, based on suggestion for fix by dz, thanks!
brain [Sat, 17 Jan 2009 20:03:38 +0000 (20:03 +0000)]
Fix for bug #679 reported by Namegduf, based on suggestion for fix by dz, thanks!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10966 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPrevent snotices being sent out for a completely empty mode
brain [Thu, 15 Jan 2009 23:42:33 +0000 (23:42 +0000)]
Prevent snotices being sent out for a completely empty mode

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10964 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBad check on getstatus() found by Ankit, thanks :)
brain [Thu, 15 Jan 2009 19:32:45 +0000 (19:32 +0000)]
Bad check on getstatus() found by Ankit, thanks :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10963 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis is more accurate. #ifndef __FreeBSD__, #else, #endif
brain [Wed, 14 Jan 2009 19:28:58 +0000 (19:28 +0000)]
This is more accurate. #ifndef __FreeBSD__, #else, #endif

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10962 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis should work, but not sure on these defines in poll socketengine
brain [Wed, 14 Jan 2009 18:54:07 +0000 (18:54 +0000)]
This should work, but not sure on these defines in poll socketengine

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10961 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRevert some of w00ts kqueue massacre from september, for some reason its not too...
brain [Wed, 14 Jan 2009 18:45:03 +0000 (18:45 +0000)]
Revert some of w00ts kqueue massacre from september, for some reason its not too stable, e.g. placing wantwrite sockets into oneshot wantread? :P
randomly uses 100% cpu with the newer code, seems kqueue doesnt quite like to work exactly the same as epoll and poll.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10960 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix incorrect classname in operinvex (not broken, just wrong code)
w00t [Sat, 10 Jan 2009 17:54:49 +0000 (17:54 +0000)]
Fix incorrect classname in operinvex (not broken, just wrong code)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10959 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix bug #665 reported by Ankit, m_services_account.so was denying its own mode change...
dz [Sat, 10 Jan 2009 17:20:34 +0000 (17:20 +0000)]
Fix bug #665 reported by Ankit, m_services_account.so was denying its own mode change on nick change.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10958 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove channel::created as its unused and only serves to confuse (see last commit...
peavey [Fri, 9 Jan 2009 20:51:38 +0000 (20:51 +0000)]
Remove channel::created as its unused and only serves to confuse (see last commit to m_check). As a bonus saves memory usage :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10955 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange /CHECK <#channel> to correctly report timestamp since it might have been TS...
peavey [Fri, 9 Jan 2009 20:37:03 +0000 (20:37 +0000)]
Change /CHECK <#channel> to correctly report timestamp since it might have been TS synced after creation.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10954 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCorrectly match alias formats (was backwards) and avoid going on to other aliases...
dz [Fri, 9 Jan 2009 01:12:46 +0000 (01:12 +0000)]
Correctly match alias formats (was backwards) and avoid going on to other aliases if none match. Fixes bug #668 reported by Ankit, thanks.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10953 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReadability: pointless construct of a std::string from another std::string for throwi...
brain [Wed, 7 Jan 2009 18:36:20 +0000 (18:36 +0000)]
Readability: pointless construct of a std::string from another std::string for throwing an exception

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10952 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix an incorrect check leading to backwards functionality, closes bug #663 (hideoper...
w00t [Wed, 7 Jan 2009 10:15:40 +0000 (10:15 +0000)]
Fix an incorrect check leading to backwards functionality,  closes bug #663 (hideoper not working), reported by liato.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10950 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFriendlify error message here too
brain [Sun, 4 Jan 2009 19:34:03 +0000 (19:34 +0000)]
Friendlify error message here too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10948 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFixed behavior of KICK in m_auditorium, fixes bug #649 reported by Schiz0.
dz [Sun, 4 Jan 2009 03:52:20 +0000 (03:52 +0000)]
Fixed behavior of KICK in m_auditorium, fixes bug #649 reported by Schiz0.
Also replaced usage of Channel::WriteAllExcept() with WriteAllExceptSender()
as the former does not except the sender and requires an extra unused variable.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10944 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThis is out of date, useless, and nobody updates it.
brain [Sun, 4 Jan 2009 03:35:49 +0000 (03:35 +0000)]
This is out of date, useless, and nobody updates it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10943 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix for bug #652, reported by Ankit: blank reply from /userip with no target online...
w00t [Sat, 3 Jan 2009 17:27:55 +0000 (17:27 +0000)]
Fix for bug #652, reported by Ankit: blank reply from /userip with no target online. Thanks!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10941 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove +o from users on deoper, plausible fix for bug #653 reported by Ankit. Let...
w00t [Sat, 3 Jan 2009 17:25:10 +0000 (17:25 +0000)]
Remove +o from users on deoper, plausible fix for bug #653 reported by Ankit. Let me know if it's still b0rked, please :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10940 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove extra 'i'.. oopsie :P
w00t [Sat, 3 Jan 2009 16:45:55 +0000 (16:45 +0000)]
Remove extra 'i'.. oopsie :P

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10939 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove silly comment from r10,000.. mostly just testing vim..
w00t [Sat, 3 Jan 2009 16:45:54 +0000 (16:45 +0000)]
Remove silly comment from r10,000.. mostly just testing vim..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10938 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix old typo.
peavey [Sat, 3 Jan 2009 06:16:13 +0000 (06:16 +0000)]
Fix old typo.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10936 e03df62e-2008-0410-955e-edbf42e46eb7