inspircd:franklin-devs-inspircd.git
8 years ago1.2.5 release v1.2.5
danieldg [Mon, 15 Feb 2010 15:29:40 +0000 (15:29 +0000)]
1.2.5 release

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12462 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix race where two servers with the same name can enter WAIT_AUTH_2 and cause a doubl...
danieldg [Mon, 15 Feb 2010 03:02:39 +0000 (03:02 +0000)]
Fix race where two servers with the same name can enter WAIT_AUTH_2 and cause a double-free crash

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12461 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoCall OnClose() before changing link state to DYING to clean up introduced servers
danieldg [Sun, 14 Feb 2010 19:18:44 +0000 (19:18 +0000)]
Call OnClose() before changing link state to DYING to clean up introduced servers

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12458 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix sending null character on callerid metadata
danieldg [Fri, 12 Feb 2010 16:40:23 +0000 (16:40 +0000)]
Fix sending null character on callerid metadata

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12441 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoWhen we get events on unknown file descriptors, unregister them rather than spinning...
danieldg [Thu, 11 Feb 2010 20:32:39 +0000 (20:32 +0000)]
When we get events on unknown file descriptors, unregister them rather than spinning at 100% CPU

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12437 e03df62e-2008-0410-955e-edbf42e46eb7

8 years ago1.2.4 release v1.2.4
danieldg [Wed, 10 Feb 2010 22:56:34 +0000 (22:56 +0000)]
1.2.4 release

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12427 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoSet link state to DYING on more error paths
danieldg [Sun, 7 Feb 2010 03:13:45 +0000 (03:13 +0000)]
Set link state to DYING on more error paths

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12393 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoRestart server_hash iteration after quitting dead and pinged out servers
danieldg [Sun, 7 Feb 2010 00:56:54 +0000 (00:56 +0000)]
Restart server_hash iteration after quitting dead and pinged out servers

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12391 e03df62e-2008-0410-955e-edbf42e46eb7

8 years ago1.2.3 release v1.2.3
danieldg [Fri, 5 Feb 2010 16:42:36 +0000 (16:42 +0000)]
1.2.3 release

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12380 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix nick change desync when users change to a Q:lined nick
danieldg [Fri, 5 Feb 2010 16:02:09 +0000 (16:02 +0000)]
Fix nick change desync when users change to a Q:lined nick

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12379 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoClarify fingerprint comments in example oper block
danieldg [Thu, 4 Feb 2010 19:53:39 +0000 (19:53 +0000)]
Clarify fingerprint comments in example oper block

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12374 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix clone counting bugs in IDENT and PASS based CGI:IRC clients
danieldg [Sat, 30 Jan 2010 22:55:56 +0000 (22:55 +0000)]
Fix clone counting bugs in IDENT and PASS based CGI:IRC clients

Previously, clone counts were not properly decremented for the CGI:IRC
host itself if the resolver changed the user's IP. This fix removes
support for passing a resolved hostname in the password field (only
raw IP addresses are allowed, which are resolved by the ircd).

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12333 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix memory leak in SetSockAddr (triggered by cgiirc clients)
danieldg [Sat, 30 Jan 2010 22:24:10 +0000 (22:24 +0000)]
Fix memory leak in SetSockAddr (triggered by cgiirc clients)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12332 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoRemove users from uuidlist/clientlist on QuitUser, not during cull (allows UID reuse...
danieldg [Sat, 30 Jan 2010 16:01:06 +0000 (16:01 +0000)]
Remove users from uuidlist/clientlist on QuitUser, not during cull (allows UID reuse on fast netsplits)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12327 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix empty FMODE being sent if SendMode denies mode changes
danieldg [Thu, 28 Jan 2010 20:28:15 +0000 (20:28 +0000)]
Fix empty FMODE being sent if SendMode denies mode changes

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12324 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoIf SVSNICK is sent to force a change to a UID-lookalike, just change nick to UID...
danieldg [Sun, 24 Jan 2010 02:05:44 +0000 (02:05 +0000)]
If SVSNICK is sent to force a change to a UID-lookalike, just change nick to UID. Fixes bug #932

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12319 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoAdd DYING state, and use it instead of asking the core to delete the socket without...
danieldg [Sat, 23 Jan 2010 21:20:47 +0000 (21:20 +0000)]
Add DYING state, and use it instead of asking the core to delete the socket without SQUIT. Should fix the crash in bug #943

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12316 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoSupport account invex extbans (+I R:accountname) [patch by Johannes13]
danieldg [Sat, 23 Jan 2010 15:59:52 +0000 (15:59 +0000)]
Support account invex extbans (+I R:accountname) [patch by Johannes13]

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12315 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFall back to copying bind IP if getsockname() fails, as it apparently can on Windows
danieldg [Fri, 22 Jan 2010 14:53:09 +0000 (14:53 +0000)]
Fall back to copying bind IP if getsockname() fails, as it apparently can on Windows

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12313 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoAllow redirect bans to be unset by any op/halfop (bug #936)
danieldg [Thu, 21 Jan 2010 22:50:43 +0000 (22:50 +0000)]
Allow redirect bans to be unset by any op/halfop (bug #936)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12312 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoSlightly more comprehensible message for connect throttle banning.
w00t [Tue, 19 Jan 2010 16:57:09 +0000 (16:57 +0000)]
Slightly more comprehensible message for connect throttle banning.

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12306 e03df62e-2008-0410-955e-edbf42e46eb7

8 years ago1.2.2 release v1.2.2
danieldg [Sun, 17 Jan 2010 18:51:08 +0000 (18:51 +0000)]
1.2.2 release

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12281 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoCheck for configuration errors before erroring on port binds.
w00t [Sat, 16 Jan 2010 22:54:43 +0000 (22:54 +0000)]
Check for configuration errors before erroring on port binds.
This allows an ircd to start with some ports unbound, which is useful in some situations.

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12273 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoBreak compilation when running as root to discourage stupid user mistakes
danieldg [Sat, 16 Jan 2010 20:42:16 +0000 (20:42 +0000)]
Break compilation when running as root to discourage stupid user mistakes

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12270 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoMake parameter unsigned so that passing -1 for "none" actually works, rather than...
danieldg [Sat, 16 Jan 2010 19:32:31 +0000 (19:32 +0000)]
Make parameter unsigned so that passing -1 for "none" actually works, rather than crashing

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12266 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoAllow maxtargets to be bypassed in LoopCall for JOIN
danieldg [Thu, 14 Jan 2010 15:20:16 +0000 (15:20 +0000)]
Allow maxtargets to be bypassed in LoopCall for JOIN

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12254 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix m_sqllog compilation (bug #939)
danieldg [Thu, 14 Jan 2010 14:59:57 +0000 (14:59 +0000)]
Fix m_sqllog compilation (bug #939)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12253 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix chanlimit when <connect> does not specify a maximum (bug #929)
danieldg [Thu, 14 Jan 2010 14:56:32 +0000 (14:56 +0000)]
Fix chanlimit when <connect> does not specify a maximum (bug #929)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12252 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoRemove launchd references (incomplete pieces of a system-wide installation setup)
danieldg [Thu, 14 Jan 2010 00:09:05 +0000 (00:09 +0000)]
Remove launchd references (incomplete pieces of a system-wide installation setup)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12250 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix +l being visibly set on every FJOIN of a remote user
danieldg [Mon, 11 Jan 2010 20:10:43 +0000 (20:10 +0000)]
Fix +l being visibly set on every FJOIN of a remote user

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12249 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoHook OnUserRegister instead of OnUserConnect so that remote user connection is logged...
w00t [Thu, 31 Dec 2009 21:58:47 +0000 (21:58 +0000)]
Hook OnUserRegister instead of OnUserConnect so that remote user connection is logged also.
Fixes bug #926.

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12236 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoCheck channel name in SVSJOIN to avoid propegating an invalid channel, fixes bug...
w00t [Thu, 31 Dec 2009 20:40:18 +0000 (20:40 +0000)]
Check channel name in SVSJOIN to avoid propegating an invalid channel, fixes bug #928.
This will result in a mild desync if someone has (ab)used SVSJOIN when linking a server running this to their network, but since those channels are screwed anyway..

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12234 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoCorrect fix by Namegduf for bug #922, as my earlier fix just made it worse
danieldg [Fri, 4 Dec 2009 00:38:36 +0000 (00:38 +0000)]
Correct fix by Namegduf for bug #922, as my earlier fix just made it worse

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12232 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agobackport r12164, fixes bug #921 reported by Sm0ke0ut
dz [Sat, 21 Nov 2009 16:33:40 +0000 (16:33 +0000)]
backport r12164, fixes bug #921 reported by Sm0ke0ut

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12166 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix failed oper snomask being sent to local oper sno on remote servers
danieldg [Sun, 15 Nov 2009 17:23:48 +0000 (17:23 +0000)]
Fix failed oper snomask being sent to local oper sno on remote servers

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12131 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoAdded ircdriven at request of zomg
brain [Thu, 12 Nov 2009 23:33:41 +0000 (23:33 +0000)]
Added ircdriven at request of zomg

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12113 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoRevert "Change /HELPOP => /HELP to be sensible and match every other ircd"
danieldg [Wed, 11 Nov 2009 16:29:37 +0000 (16:29 +0000)]
Revert "Change /HELPOP => /HELP to be sensible and match every other ircd"

This change really doesn't belong in the stable branch

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12091 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoChange /HELPOP => /HELP to be sensible and match every other ircd
danieldg [Wed, 11 Nov 2009 16:21:24 +0000 (16:21 +0000)]
Change /HELPOP => /HELP to be sensible and match every other ircd

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12090 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix compile on darwin
danieldg [Wed, 11 Nov 2009 16:21:17 +0000 (16:21 +0000)]
Fix compile on darwin

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12089 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoCopy SID and server name from existing config before running checks; fixes bug #919
danieldg [Fri, 6 Nov 2009 23:25:47 +0000 (23:25 +0000)]
Copy SID and server name from existing config before running checks; fixes bug #919

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@12049 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix CGI:IRC user class in the other places too
danieldg [Sun, 1 Nov 2009 22:16:59 +0000 (22:16 +0000)]
Fix CGI:IRC user class in the other places too

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11987 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix CGI:IRC user class not being changed based on their real IP when it is changed
danieldg [Sun, 1 Nov 2009 22:06:56 +0000 (22:06 +0000)]
Fix CGI:IRC user class not being changed based on their real IP when it is changed

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11986 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix local clone count bookkeeping
danieldg [Sun, 1 Nov 2009 21:59:10 +0000 (21:59 +0000)]
Fix local clone count bookkeeping

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11985 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoRemove modulemanager execution from configure
danieldg [Fri, 30 Oct 2009 23:16:19 +0000 (23:16 +0000)]
Remove modulemanager execution from configure

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11982 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoAdd hacks to fix SSL bindings to 0.0.0.0 and ::
danieldg [Wed, 28 Oct 2009 15:47:07 +0000 (15:47 +0000)]
Add hacks to fix SSL bindings to 0.0.0.0 and ::

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11979 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoPatch from GreenReaper to fix gradual memory leak while gui is attached through bad...
brain [Wed, 21 Oct 2009 22:36:46 +0000 (22:36 +0000)]
Patch from GreenReaper to fix gradual memory leak while gui is attached through bad use of vtProp etc. Thanks tons! :-)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11937 e03df62e-2008-0410-955e-edbf42e46eb7

8 years ago1.2.1 release v1.2.1
danieldg [Mon, 19 Oct 2009 15:18:36 +0000 (15:18 +0000)]
1.2.1 release

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11918 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoStop recvq processing when a user is marked as quitting
danieldg [Sun, 18 Oct 2009 23:40:24 +0000 (23:40 +0000)]
Stop recvq processing when a user is marked as quitting

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11913 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoRewrite m_alias DoCommand to do variable substitution in one pass, fixing bugs with...
danieldg [Sun, 18 Oct 2009 21:15:07 +0000 (21:15 +0000)]
Rewrite m_alias DoCommand to do variable substitution in one pass, fixing bugs with $i in user-provided text

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11912 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix infinite loop on alias expansion, found by Adam
danieldg [Sun, 18 Oct 2009 19:38:20 +0000 (19:38 +0000)]
Fix infinite loop on alias expansion, found by Adam

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11909 e03df62e-2008-0410-955e-edbf42e46eb7

8 years agoFix channel iterator invalidation by running PurgeEmptyChannels in cull list, not...
danieldg [Wed, 30 Sep 2009 16:16:03 +0000 (16:16 +0000)]
Fix channel iterator invalidation by running PurgeEmptyChannels in cull list, not in QuitUser

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11781 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoPrevent fake users from quitting
danieldg [Thu, 17 Sep 2009 23:42:42 +0000 (23:42 +0000)]
Prevent fake users from quitting

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11744 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoWhere there are hidden servers, report the /map server count as the hidden count...
brain [Tue, 15 Sep 2009 17:30:47 +0000 (17:30 +0000)]
Where there are hidden servers, report the /map server count as the hidden count if the user cant see these servers. and
calculate the user average over this number of servers too. -- Reported by Syloq, thanks!

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11728 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoProperly spacify opertypes in error messages. Patch by dKingston
special [Mon, 14 Sep 2009 22:08:02 +0000 (22:08 +0000)]
Properly spacify opertypes in error messages. Patch by dKingston

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11725 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoOther half of r11694, that I forgot to commit the first time
special [Sun, 13 Sep 2009 19:34:08 +0000 (19:34 +0000)]
Other half of r11694, that I forgot to commit the first time

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11695 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoDon't allow /who to match servers when HideWhoisServer is enabled (unless the user...
special [Sun, 13 Sep 2009 19:33:24 +0000 (19:33 +0000)]
Don't allow /who to match servers when HideWhoisServer is enabled (unless the user has the privilege)

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11694 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoGnuTLS: Send SSL client certificate on server link
danieldg [Sat, 12 Sep 2009 03:26:27 +0000 (03:26 +0000)]
GnuTLS: Send SSL client certificate on server link

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11691 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoFix invalid iterator in select socketengine
danieldg [Wed, 9 Sep 2009 19:51:37 +0000 (19:51 +0000)]
Fix invalid iterator in select socketengine

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11688 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoFix auditorium trimming kick messages to the first word (reported on forum topic...
w00t [Sat, 5 Sep 2009 14:34:43 +0000 (14:34 +0000)]
Fix auditorium trimming kick messages to the first word (reported on forum topic 6453).

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11675 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoRevert "Bump version so people know what they're using."
w00t [Tue, 1 Sep 2009 00:36:37 +0000 (00:36 +0000)]
Revert "Bump version so people know what they're using."

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11553 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoBump version so people know what they're using.
w00t [Tue, 1 Sep 2009 00:33:52 +0000 (00:33 +0000)]
Bump version so people know what they're using.

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11551 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoBackport r11549 from trunk - Exclude modules from build on release mode too.
peavey [Mon, 31 Aug 2009 23:51:40 +0000 (23:51 +0000)]
Backport r11549 from trunk - Exclude modules from build on release mode too.

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11550 e03df62e-2008-0410-955e-edbf42e46eb7

9 years ago1.2.0 stable branch.
w00t [Mon, 31 Aug 2009 23:13:34 +0000 (23:13 +0000)]
1.2.0 stable branch.

git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11548 e03df62e-2008-0410-955e-edbf42e46eb7

9 years agoBump out of RC v1.2.0
w00t [Sat, 29 Aug 2009 15:06:11 +0000 (15:06 +0000)]
Bump out of RC

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

9 years agoStop a potential null pointer dereference introduced by Namegduf's patch, found by...
w00t [Fri, 28 Aug 2009 20:30:25 +0000 (20:30 +0000)]
Stop a potential null pointer dereference introduced by Namegduf's patch, found by Dessa/Kuja for finding this, and to danieldg, Special, Namegduf and psychon for their input.

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

9 years agoFix a really minor spelling error in make/configure.pm
psychon [Fri, 28 Aug 2009 20:16:38 +0000 (20:16 +0000)]
Fix a really minor spelling error in make/configure.pm

Thanks to Kuja aka Dessa for reporting this.

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

9 years agoUpdated helpop files from Namegduf. Also thanks to Taros and Kazuma for their help.
w00t [Fri, 28 Aug 2009 17:09:52 +0000 (17:09 +0000)]
Updated helpop files from Namegduf. Also thanks to Taros and Kazuma for their help.

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

9 years agoPatch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and correctly...
w00t [Fri, 28 Aug 2009 17:07:21 +0000 (17:07 +0000)]
Patch from Namegduf to use OnUserMessage instead of OnUserPreMessage, and correctly prioritize events to fix channel aliases arriving after the effects of the alias.

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

9 years agoDon't subtract one from MAXCHANNELS, it's a number, not a string length.
w00t [Fri, 28 Aug 2009 08:56:41 +0000 (08:56 +0000)]
Don't subtract one from MAXCHANNELS, it's a number, not a string length.
Reported by Sm0ke0ut.

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

9 years agooverride: pass handling back to the core to send numerics if join restrictions apply...
w00t [Thu, 27 Aug 2009 10:38:26 +0000 (10:38 +0000)]
override: pass handling back to the core to send numerics if join restrictions apply. Thanks to webczat for (eventually) being able to communicate what the problem was.

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

9 years agoOf course, in adding yet more header madness to this for VS2010, I forgot to keep...
w00t [Wed, 26 Aug 2009 17:57:44 +0000 (17:57 +0000)]
Of course, in adding yet more header madness to this for VS2010, I forgot to keep the old hash_map include for windows.

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

9 years agoSmall example config changes; patch by jdhore
special [Mon, 24 Aug 2009 02:41:34 +0000 (02:41 +0000)]
Small example config changes; patch by jdhore

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

9 years agoConfig patch from jdhore: identify modules in example config that are not suitable...
danieldg [Fri, 21 Aug 2009 19:57:57 +0000 (19:57 +0000)]
Config patch from jdhore: identify modules in example config that are not suitable for most networks

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

9 years agoAdd contents of LDFLAGS in addition to CXXFLAGS
danieldg [Fri, 21 Aug 2009 16:33:04 +0000 (16:33 +0000)]
Add contents of LDFLAGS in addition to CXXFLAGS

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

9 years agoAllow relative and absolute paths to work (without magic) with pidfile.
w00t [Thu, 20 Aug 2009 15:55:32 +0000 (15:55 +0000)]
Allow relative and absolute paths to work (without magic) with pidfile.

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

9 years agoFix access-after-free on rehash
danieldg [Thu, 20 Aug 2009 13:40:35 +0000 (13:40 +0000)]
Fix access-after-free on rehash

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

9 years agoFix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid collision...
w00t [Wed, 19 Aug 2009 15:09:27 +0000 (15:09 +0000)]
Fix a regression from fcb51634669e6ed588e42f2072c6f910e267126f ("fix uid collision on spanningtree reload") caused by access-after-free.
Thanks to transnet for the report.

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

9 years agoUpdate .gitignore to ignore .modulemanager (and cleanup)
danieldg [Mon, 17 Aug 2009 22:27:25 +0000 (22:27 +0000)]
Update .gitignore to ignore .modulemanager (and cleanup)

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

9 years agoAllow forward linking compatability by accepting higher protocol version numbers...
danieldg [Mon, 17 Aug 2009 15:09:46 +0000 (15:09 +0000)]
Allow forward linking compatability by accepting higher protocol version numbers (other server should fail the link if it becomes link-incompatable)

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

9 years agocgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked...
w00t [Sun, 16 Aug 2009 01:17:09 +0000 (01:17 +0000)]
cgiirc: Pass hosts to WEBIRC command on rehash. No fucking wonder this never worked except on module load. _ARGH_. Thanks to Jeremy for his help in tracking this down.

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

9 years agoPartial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding...
w00t [Sat, 15 Aug 2009 13:52:53 +0000 (13:52 +0000)]
Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding RPL_NOTOPICSET).
This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though.

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

9 years agovs2010 projects too.
w00t [Sat, 15 Aug 2009 11:45:07 +0000 (11:45 +0000)]
vs2010 projects too.

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

9 years agowin: Add vs2010 SLN.
w00t [Sat, 15 Aug 2009 11:38:14 +0000 (11:38 +0000)]
win: Add vs2010 SLN.

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

9 years agowin: Last part of support required for VS2010:
w00t [Sat, 15 Aug 2009 11:32:49 +0000 (11:32 +0000)]
win: Last part of support required for VS2010:
NEEDS COMPILE TESTING ON: gcc3 (if possible), gcc4, vs2008.
 - Check for vs2010 in hash_map.h
   - use unordered_map if it exists
 - change all map creations to:
    #if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED)
       // old windows crap
    #else
       #if HASHMAP_DEPRECATED
           // tr1/gcc crap
       #endif
    #endif

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

9 years agoBump version to rc5. v1.2.0rc5
w00t [Sat, 15 Aug 2009 11:27:13 +0000 (11:27 +0000)]
Bump version to rc5.

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

9 years agowin: vs2010 requires this to link in process memory retrieval stuff
w00t [Sat, 15 Aug 2009 05:16:26 +0000 (05:16 +0000)]
win: vs2010 requires this to link in process memory retrieval stuff

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

9 years agowin: don't define error constants on VS2009, they're defined for us (finally)
w00t [Sat, 15 Aug 2009 05:02:29 +0000 (05:02 +0000)]
win: don't define error constants on VS2009, they're defined for us (finally)

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

9 years agoFix a compile error for IPv6 windows builds, discovered by Flo
special [Fri, 14 Aug 2009 22:02:01 +0000 (22:02 +0000)]
Fix a compile error for IPv6 windows builds, discovered by Flo

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

9 years agoMake ident handling consistant: use ChangeIdent for all ident manipulation. This...
w00t [Fri, 14 Aug 2009 20:43:46 +0000 (20:43 +0000)]
Make ident handling consistant: use ChangeIdent for all ident manipulation. This fixes cache bugs properly.

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

9 years agoPrint line on empty prefix errors to track down a bug
w00t [Fri, 14 Aug 2009 20:10:36 +0000 (20:10 +0000)]
Print line on empty prefix errors to track down a bug

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

9 years agoSet log to null on close and check for null loghandle on FileWriter::WriteLogLine.
w00t [Fri, 14 Aug 2009 20:06:42 +0000 (20:06 +0000)]
Set log to null on close and check for null loghandle on FileWriter::WriteLogLine.

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

9 years agoRun modulemanager upgrade to check for updates to third party (and extras) modules...
w00t [Fri, 14 Aug 2009 19:51:09 +0000 (19:51 +0000)]
Run modulemanager upgrade to check for updates to third party (and extras) modules on reconfigure.

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

9 years ago(Hopefully) fix a issue with m_ident's result not being used for display.
psychon [Fri, 14 Aug 2009 19:50:53 +0000 (19:50 +0000)]
(Hopefully) fix a issue with m_ident's result not being used for display.

The user class has a couple of caches for the user's hostmask. If one of those
caches is initialized before m_ident set the user's new ident it would stick
around until the cache was invalidated the next time. This patch fixes this by
using the proper API for setting a user's ident which also invalidates any
caches which might still have the old ident.

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

9 years agoRegenerate modules makefile if installing or uninstalling extras modules.
w00t [Fri, 14 Aug 2009 19:45:30 +0000 (19:45 +0000)]
Regenerate modules makefile if installing or uninstalling extras modules.

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

9 years agoRemove some very verbose debug that isn't really needed anymore
w00t [Fri, 14 Aug 2009 15:08:58 +0000 (15:08 +0000)]
Remove some very verbose debug that isn't really needed anymore

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

9 years agoApply fake lag on garbage input to discourage crap
w00t [Fri, 14 Aug 2009 15:08:15 +0000 (15:08 +0000)]
Apply fake lag on garbage input to discourage crap

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

9 years agoMerge patch from dKingston for missing TOPIC numeric, also replace the literal 331...
brain [Thu, 13 Aug 2009 22:44:07 +0000 (22:44 +0000)]
Merge patch from dKingston for missing TOPIC numeric, also replace the literal 331 with an RPL_* enum value, thanks!

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

9 years agoPoint out that the dns server must be an ip, not a host
brain [Wed, 12 Aug 2009 23:27:49 +0000 (23:27 +0000)]
Point out that the dns server must be an ip, not a host

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

9 years agoFix printf format warning
danieldg [Wed, 12 Aug 2009 21:46:21 +0000 (21:46 +0000)]
Fix printf format warning

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

9 years agoComment out <dns:server> by default, and explain why.
w00t [Wed, 12 Aug 2009 20:34:27 +0000 (20:34 +0000)]
Comment out <dns:server> by default, and explain why.

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