9200 Commits

Author SHA1 Message Date
peavey
5085a0ccac 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
2009-02-15 15:31:46 +00:00
peavey
90b62dd999 Fixify comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11114 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15 13:23:48 +00:00
brain
e96c13479d Fix warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11113 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15 13:20:52 +00:00
peavey
b305a8d5e2 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
2009-02-15 13:19:05 +00:00
brain
1315213e60 RARRR, 11111 is MEIN! :3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11111 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15 09:21:20 +00:00
brain
6b26d9b62f 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
2009-02-15 09:20:46 +00:00
peavey
f44ff8cf3c 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
2009-02-15 08:57:16 +00:00
danieldg
08164c9502 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
2009-02-15 04:31:38 +00:00
peavey
168f99fc6c 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
2009-02-14 21:47:40 +00:00
peavey
7d9cc14d3e 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
2009-02-14 21:14:43 +00:00
peavey
f209cce90b Nuke trailing spaces
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14 21:14:36 +00:00
peavey
60ab529ad4 Le oops, got wrong sender on kick.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11104 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14 19:57:35 +00:00
peavey
6ea7f020aa Make override work with KICK PART and JOIN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11103 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14 19:51:58 +00:00
peavey
75a560f465 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
2009-02-14 19:01:22 +00:00
brain
9bca438482 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
2009-02-13 09:21:30 +00:00
peavey
c5f32b22fb 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
2009-02-12 20:07:55 +00:00
peavey
5eb849fba4 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
2009-02-12 19:27:08 +00:00
peavey
7fe04dadc1 and here, and here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11093 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12 18:05:08 +00:00
peavey
b686288b3f Ah pasting, also remove this var from here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11092 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12 18:05:07 +00:00
peavey
b5e82511c4 Nuke an unused var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11091 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12 18:05:05 +00:00
peavey
452331af52 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
2009-02-12 15:25:00 +00:00
w00t
5e05f5674c Make notice slightly more pretty, suggestion from KingTarquin.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11089 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12 12:08:15 +00:00
brain
13c5cb7845 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
2009-02-11 23:47:06 +00:00
brain
4ed72f3744 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
2009-02-11 23:35:42 +00:00
w00t
de594096be 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
2009-02-11 20:41:53 +00:00
brain
c5ce2a9079 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
2009-02-11 17:17:22 +00:00
w00t
6cc0050b4e 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
2009-02-11 15:33:06 +00:00
peavey
7fc95ccfdc 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
2009-02-11 10:57:07 +00:00
peavey
bbf472cb95 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
2009-02-11 10:51:18 +00:00
peavey
35d20fbabe 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
2009-02-11 03:09:01 +00:00
dz
6e470a0c86 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
2009-02-10 02:26:44 +00:00
danieldg
98d8252abd 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
2009-02-09 22:12:27 +00:00
danieldg
16ba90f0c6 Fix merge FJOIN debug message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11078 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 21:46:21 +00:00
dz
da61548438 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
2009-02-09 19:55:56 +00:00
brain
58063d4f41 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
2009-02-09 12:39:54 +00:00
brain
dcfae7ba44 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
2009-02-09 12:38:04 +00:00
brain
cb1464555e Trap SIGXFSZ
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11067 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09 09:11:20 +00:00
w00t
f5c9eb1434 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
2009-02-08 22:56:08 +00:00
brain
7df379d61e Allow this to handle RC style names
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11063 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 18:22:41 +00:00
brain
64654ed1e7 The cow is ready, come get it!!! :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11062 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc1
2009-02-08 17:54:17 +00:00
brain
9b697f0352 Incorrect documentation of cgi:irc password, thanks to Sm0ke0ut and rj_ for finding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11061 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 17:46:09 +00:00
brain
643e75680d Grr fucking windows grrrr fuckity fuckity
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 17:20:37 +00:00
brain
2841f55d4b Fix some stuff for nationalchars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11058 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 16:56:07 +00:00
brain
ed809c886f Apply patch for bug #704 from Darom, shun:affectopers option -- Thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11057 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 16:28:03 +00:00
w00t
538f14e515 Add IDENTIFY aliases to default anope aliases example, just for Jobe :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11051 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 15:39:54 +00:00
w00t
c4d7f00f74 Add a snotice when a user tries to use WEBIRC without matching any configured blocks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11050 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 15:39:52 +00:00
w00t
f99398e114 Remove duplicate MacGyver.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11041 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-07 22:08:23 +00:00
brain
a43eecd510 Add ./configure --generate-{gnutls,openssl}-cert for easy re-generation of a certificate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11040 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-07 20:21:02 +00:00
brain
89249e32fc Patch for bug #704 by Darom, allows for 64 bit file offsets, so that signal 25 isnt raised if there is a 2gb logfile (really, WATCH YOUR LOGS)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11035 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06 23:48:25 +00:00
psychon
a64e860b26 Some fixes to the kqueue socket engine
The old code choked badly if a socket which was !eh->Readable() was added
(it went into an endless loop where kqueue would keep reporting that socket
for writeability).
This also fixes a bug where DelFd() failed to clean up properly which caused
the next AddFd() for an identical fd number to fail.
Oh and this also adds some error messages and does some minor cleanup...


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11033 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06 16:29:29 +00:00