9245 Commits

Author SHA1 Message Date
danieldg
71cd4678a5 Clean up delayjoin extension behavior
There were a number of cases where delayjoin left stale metadata attached
to a user, which wastes memory. Also, the quit message of a users in a +D
channel could not be seen because of the emulated PART.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11168 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04 04:54:09 +00:00
danieldg
e88f1be133 Grammar/whitespace fixup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11167 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04 00:57:52 +00:00
danieldg
08d55d0b30 More documentation to example configs [jdhore]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11166 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04 00:46:12 +00:00
danieldg
2089dfce57 Add more documentation to example configs [jdhore]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11165 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04 00:07:56 +00:00
danieldg
d66ce94423 Restrict some /WHO options to opers
There is no reason to be able to query the umodes of other users or the port
they connected on; this can contain private information.

If HideWhoisServer is on, also restrict local/far query.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11164 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-03 17:45:31 +00:00
danieldg
b2688f6cdf Revert "Don't apply channel modes received in an non-burst, non-creation FJOIN, because they could be out of date"
This keeps the protocol closer to TS6 behavior. The mode sync in the FJOIN is
used to resync channel modes after a desync caused by modes crossing on the
wire. In the future, an alternate join command will be used to prevent MODExJOIN
desync without rejecting modes from an FJOIN.

This reverts commit 4820e6bb9578e53ea1553070108599349d0ffbcb.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11163 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-02 23:38:04 +00:00
danieldg
4820e6bb95 Don't apply channel modes received in an non-burst, non-creation FJOIN, because they could be out of date
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11162 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-02 22:08:56 +00:00
danieldg
f0552b8d76 Fix +P channels being deleted when the final user /QUITs, thanks SnoFox
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11161 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-02 04:23:22 +00:00
dz
789e43b40d Fix a crash in m_conn_waitpong, spotted by Obi_Wan.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11159 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-01 13:20:28 +00:00
danieldg
862bdf27b8 Revert r10640, it blocked override notices unless they contained an op/deop/etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11158 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27 21:53:01 +00:00
danieldg
a940fbddee Add more information to /CHECK output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11157 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27 16:02:21 +00:00
danieldg
00fa6d592e [Taros] Add m_sakick.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11156 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27 02:44:36 +00:00
danieldg
d3c32dc048 Fix SID-sourced KILL being displayed to killee as from SID not from server name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11155 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27 01:05:05 +00:00
danieldg
e75c523e59 Fix previous module mismatch message; "remote" is misleading when sent as an ERROR
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11154 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27 01:04:57 +00:00
danieldg
b6de960d97 Add VF_COMMON to all modules that provide an extban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11153 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25 19:03:13 +00:00
danieldg
2c8dd5f19a Remove VF_COMMON from m_banredirect, it only adds an extban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11152 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25 18:33:19 +00:00
danieldg
a01d6ade99 Clarify CMD_LOCALONLY return values for /WATCH
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11151 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25 17:26:17 +00:00
danieldg
c2623e318f m_customtitle: Don't route TITLE command, route metadata only
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11150 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25 17:26:09 +00:00
danieldg
d56e1a1d58 Allow accountname to be changed without an explicit unset
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11149 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25 02:54:04 +00:00
danieldg
37671dc1cc Clarify module mismatch message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11148 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24 23:50:04 +00:00
danieldg
4d42d54458 Allow non-opers to use /MKPASSWD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11147 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24 18:14:38 +00:00
danieldg
e8a6dfa763 Fix svn:keywords on m_nationalchars.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11146 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24 03:19:19 +00:00
special
ecc55199cf m_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning CMD_LOCALONLY respectively
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11144 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-23 13:30:38 +00:00
special
410e7b9e2f Forward port r11142: Commands that only give a response locally should not be propagated globally, especially if not flagged as VF_COMMON (specifically, m_sslinfo). Found by satmd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11143 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-23 13:18:59 +00:00
w00t
4efdfce66a In retrospect, not allowing *any* XLines to be set was pretty fucking stupid.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11141 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22 14:37:38 +00:00
w00t
590dd9292f Don't remove an expired xline on add, simply drop duplicates (1.1 behaviour). This can lead to bouncing between servers.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11140 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22 10:54:09 +00:00
w00t
2497f6da2f Don't allow expired XLines to be added.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11139 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22 10:54:08 +00:00
peavey
ce19cce8cb Forward port r11137 from stable:
================================
Use extended open method instead of the basic. Because basic always does SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE and we just want SQLITE_OPEN_READWRITE so we can warn if the db does not exist, rather than create an empty db.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11138 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22 02:56:43 +00:00
danieldg
d6501677e1 Remove unneeded "fd" member of issl_session
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11135 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19 22:32:17 +00:00
danieldg
c41134a7d9 Remove unneeded comment about warnings on 64-bit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11134 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19 22:32:10 +00:00
danieldg
5e3a14e332 GnuTLS does not need a double-copy input buffer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11133 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19 22:32:02 +00:00
dz
692b454970 SAPART does indeed take up to 3 parameters.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11132 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19 20:33:19 +00:00
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