]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoRemove had no maxpara
brain [Wed, 18 Feb 2009 08:36:11 +0000 (08:36 +0000)]
Remove had no maxpara

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

15 years agoMaxpara on these was 3, should be 2
brain [Wed, 18 Feb 2009 08:31:13 +0000 (08:31 +0000)]
Maxpara on these was 3, should be 2

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

15 years agoRemove redundant PriorityState, enum Priority does the exact same thing.
w00t [Mon, 16 Feb 2009 22:14:36 +0000 (22:14 +0000)]
Remove redundant PriorityState, enum Priority does the exact same thing.

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

15 years agoRemove duplicate quote, reported by DukePyrolator.
w00t [Mon, 16 Feb 2009 16:38:41 +0000 (16:38 +0000)]
Remove duplicate quote, reported by DukePyrolator.

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

15 years agoFew minor helpop updates..
w00t [Mon, 16 Feb 2009 16:30:18 +0000 (16:30 +0000)]
Few minor helpop updates..

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

15 years agoUpdate some missing svn:ignores
danieldg [Sun, 15 Feb 2009 19:07:38 +0000 (19:07 +0000)]
Update some missing svn:ignores

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

15 years agoSeveral changes
peavey [Sun, 15 Feb 2009 15:31:46 +0000 (15:31 +0000)]
Several changes
* Only send out NICK from target server
* Dont block changing nick when being forced
* Add more sanity checks various places

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

15 years agoFixify comments
peavey [Sun, 15 Feb 2009 13:23:48 +0000 (13:23 +0000)]
Fixify comments

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

15 years agoFix warning
brain [Sun, 15 Feb 2009 13:20:52 +0000 (13:20 +0000)]
Fix warning

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

15 years agoTarget route SANICK and when we hit the target let NICK do the propogating for desync...
peavey [Sun, 15 Feb 2009 13:19:05 +0000 (13:19 +0000)]
Target route SANICK and when we hit the target let NICK do the propogating for desync-safe operation.

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

15 years agoRARRR, 11111 is MEIN! :3
brain [Sun, 15 Feb 2009 09:21:20 +0000 (09:21 +0000)]
RARRR, 11111 is MEIN! :3

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

15 years agoFix for bug #725, operprefix rank value conflicts with founder rank value, raise...
brain [Sun, 15 Feb 2009 09:20:46 +0000 (09:20 +0000)]
Fix for bug #725, operprefix rank value conflicts with founder rank value, raise operprefix value, also get rid of some static global var craq.

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

15 years agoAlso Extend user with FORCENick when calling the actual command handler for NICK...
peavey [Sun, 15 Feb 2009 08:57:16 +0000 (08:57 +0000)]
Also Extend user with FORCENick when calling the actual command handler for NICK in User::ForceNickChange to avoid serverwide desyncs. Fixes bug #733 reported by SnoFox.

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

15 years agom_operprefix: Remove IS_LOCAL checks to also set/unset +y on remote opers
danieldg [Sun, 15 Feb 2009 04:31:38 +0000 (04:31 +0000)]
m_operprefix: Remove IS_LOCAL checks to also set/unset +y on remote opers

Changes were not being propagated via FMODE. Fixes bug #730

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

15 years agoMake glob patterns in module load work correctly. Fixes bug #724 reported by SnoFox.
peavey [Sat, 14 Feb 2009 21:47:40 +0000 (21:47 +0000)]
Make glob patterns in module load work correctly. Fixes bug #724 reported by SnoFox.

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

15 years agoAdd missing header #define assuring its only included once where needed
peavey [Sat, 14 Feb 2009 21:14:43 +0000 (21:14 +0000)]
Add missing header #define assuring its only included once where needed

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

15 years agoNuke trailing spaces
peavey [Sat, 14 Feb 2009 21:14:36 +0000 (21:14 +0000)]
Nuke trailing spaces

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

15 years agoLe oops, got wrong sender on kick.
peavey [Sat, 14 Feb 2009 19:57:35 +0000 (19:57 +0000)]
Le oops, got wrong sender on kick.

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

15 years agoMake override work with KICK PART and JOIN
peavey [Sat, 14 Feb 2009 19:51:58 +0000 (19:51 +0000)]
Make override work with KICK PART and JOIN

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

15 years agoFix reverse logic on oper override on names list
peavey [Sat, 14 Feb 2009 19:01:22 +0000 (19:01 +0000)]
Fix reverse logic on oper override on names list

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

15 years agoAdd security:genericoper as requested by Strawberry and TwinShadow.
brain [Fri, 13 Feb 2009 09:21:30 +0000 (09:21 +0000)]
Add security:genericoper as requested by Strawberry and TwinShadow.

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

15 years agoAllow install path with spaces (dont escape the spaces). Fixes bug #717 reported...
peavey [Thu, 12 Feb 2009 20:07:55 +0000 (20:07 +0000)]
Allow install path with spaces (dont escape the spaces). Fixes bug #717 reported by Obi_Wan.

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

15 years agoForward port r11094:
peavey [Thu, 12 Feb 2009 19:27:08 +0000 (19:27 +0000)]
Forward port r11094:
====================
Check if dest user is local, since this is the user we are going to GetExt on, so the check was reverse. Fixes bug #716 reported by Darom

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

15 years agoand here, and here
peavey [Thu, 12 Feb 2009 18:05:08 +0000 (18:05 +0000)]
and here, and here

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

15 years agoAh pasting, also remove this var from here
peavey [Thu, 12 Feb 2009 18:05:07 +0000 (18:05 +0000)]
Ah pasting, also remove this var from here

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

15 years agoNuke an unused var
peavey [Thu, 12 Feb 2009 18:05:05 +0000 (18:05 +0000)]
Nuke an unused var

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

15 years agoSeveral fixes to mysql module:
peavey [Thu, 12 Feb 2009 15:25:00 +0000 (15:25 +0000)]
Several fixes to mysql module:
* Resolve a deadlock sneaking in when using queries during module load time (start up) triggered by such modules as sqllog.
* Move a few mysql vars to the heap to avoid random stack corruption (valgrind no longer complains either).

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

15 years agoMake notice slightly more pretty, suggestion from KingTarquin.
w00t [Thu, 12 Feb 2009 12:08:15 +0000 (12:08 +0000)]
Make notice slightly more pretty, suggestion from KingTarquin.

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

15 years agoI really dont get the oddball count()? rewrite it
brain [Wed, 11 Feb 2009 23:47:06 +0000 (23:47 +0000)]
I really dont get the oddball count()? rewrite it

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

15 years agoMerge in initial numbered parameters patch from Phoenix, thanks :)
brain [Wed, 11 Feb 2009 23:35:42 +0000 (23:35 +0000)]
Merge in initial numbered parameters patch from Phoenix, thanks :)

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

15 years agoFix nick@server.target PRIVMSG and NOTICE, noticed by GeniusDex.
w00t [Wed, 11 Feb 2009 20:41:53 +0000 (20:41 +0000)]
Fix nick@server.target PRIVMSG and NOTICE, noticed by GeniusDex.

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

15 years agoFix error when configuring with a custom directory: http://www.inspircd.org/forum...
brain [Wed, 11 Feb 2009 17:17:22 +0000 (17:17 +0000)]
Fix error when configuring with a custom directory: http://www.inspircd.org/forum/showthread.php?t=5419

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

15 years agoAdd a missing colon. Due to PUSH, it requires two here. Reported by Jobe, thanks! :)
w00t [Wed, 11 Feb 2009 15:33:06 +0000 (15:33 +0000)]
Add a missing colon. Due to PUSH, it requires two here. Reported by Jobe, thanks! :)

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

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