summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-06Convert helpop to use a ModeHandler base rather than a ↵w00t
SimpleUserModeHandler, users should not be able to set +h. Fixes #750, reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11175 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05m_sakick needs to be marked VF_COMMONdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11174 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05Fix delayjoin adding an extra @ prefix modedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11172 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-05Fix crash when services (or a misbehaving remote server) introduces a server ↵danieldg
with duplicate SID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11171 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04delayjoin: Remove broken check for channel ops, use ModeHandler parameter ↵danieldg
instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11169 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-04Clean up delayjoin extension behaviordanieldg
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-03Restrict some /WHO options to opersdanieldg
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-02Revert "Don't apply channel modes received in an non-burst, non-creation ↵danieldg
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-02Don't apply channel modes received in an non-burst, non-creation FJOIN, ↵danieldg
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-02Fix +P channels being deleted when the final user /QUITs, thanks SnoFoxdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11161 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-01Fix a crash in m_conn_waitpong, spotted by Obi_Wan.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11159 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Revert r10640, it blocked override notices unless they contained an op/deop/etcdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11158 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Add more information to /CHECK outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11157 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27[Taros] Add m_sakick.sodanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11156 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Fix SID-sourced KILL being displayed to killee as from SID not from server namedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11155 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-27Fix previous module mismatch message; "remote" is misleading when sent as an ↵danieldg
ERROR git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11154 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Add VF_COMMON to all modules that provide an extbandanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11153 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Remove VF_COMMON from m_banredirect, it only adds an extbandanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11152 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Clarify CMD_LOCALONLY return values for /WATCHdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11151 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25m_customtitle: Don't route TITLE command, route metadata onlydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11150 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-25Allow accountname to be changed without an explicit unsetdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11149 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Clarify module mismatch messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11148 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Allow non-opers to use /MKPASSWDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11147 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Fix svn:keywords on m_nationalchars.cppdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11146 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-23m_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning ↵special
CMD_LOCALONLY respectively git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11144 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-23Forward port r11142: Commands that only give a response locally should not ↵special
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-22In retrospect, not allowing *any* XLines to be set was pretty fucking stupid.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11141 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22Don't remove an expired xline on add, simply drop duplicates (1.1 ↵w00t
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-22Don't allow expired XLines to be added.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11139 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-22Forward port r11137 from stable:peavey
================================ 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-19Remove unneeded "fd" member of issl_sessiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11135 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19Remove unneeded comment about warnings on 64-bitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11134 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19GnuTLS does not need a double-copy input bufferdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11133 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19SAPART does indeed take up to 3 parameters.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11132 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19Fix crash on /SHUN with exactly 2 parametersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11131 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-19Restrict /WHO <item> M to opersdanieldg
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-18Add UID to CHECK outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11129 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Remove unused NumServers fielddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11128 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Remove MaxMapHeight, replace with dynamically sized buffersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11127 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Apparently casting to float is not sufficient to cause a conversiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11126 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Rework /MAP output to not be overly widedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11125 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Remove had no maxparabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11124 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-18Maxpara on these was 3, should be 2brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11123 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-16Remove redundant PriorityState, enum Priority does the exact same thing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15Several changespeavey
* 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-15Fixify commentspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11114 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15Fix warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11113 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15Target route SANICK and when we hit the target let NICK do the propogating ↵peavey
for desync-safe operation. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11112 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15RARRR, 11111 is MEIN! :3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11111 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-15Fix for bug #725, operprefix rank value conflicts with founder rank value, ↵brain
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