9313 Commits

Author SHA1 Message Date
danieldg
4dfcdc1734 Fix crash on /SHUN with exactly 2 parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11131 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19 18:02:46 +00:00
danieldg
4db47bcf73 Restrict /WHO <item> M to opers
Metadata keys can contain information that should not be viewable by
users, such as "delayjoin_#channel".

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11130 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19 17:23:05 +00:00
danieldg
54499f67c6 Add UID to CHECK output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11129 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 21:06:00 +00:00
danieldg
f19e632f3d Remove unused NumServers field
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11128 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 21:05:53 +00:00
danieldg
6bb642a9ba Remove MaxMapHeight, replace with dynamically sized buffers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11127 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 19:46:31 +00:00
danieldg
130023be47 Apparently casting to float is not sufficient to cause a conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11126 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 18:04:39 +00:00
danieldg
f9d2a1c827 Rework /MAP output to not be overly wide
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11125 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 17:52:20 +00:00
brain
aa58426f0f Remove had no maxpara
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11124 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 08:36:11 +00:00
brain
f14271bdb8 Maxpara on these was 3, should be 2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11123 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18 08:31:13 +00:00
w00t
27e0df3719 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
2009-02-16 22:14:36 +00:00
w00t
3cfd26c7a2 Remove duplicate quote, reported by DukePyrolator.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11120 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-16 16:38:41 +00:00
w00t
d7e00b3269 Few minor helpop updates..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11119 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-16 16:30:18 +00:00
danieldg
e72c54d962 Update some missing svn:ignores
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11116 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15 19:07:38 +00:00
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