]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoInclude explicit parameter list in ProtocolInterface::SendMode
danieldg [Sat, 7 Mar 2009 01:29:45 +0000 (01:29 +0000)]
Include explicit parameter list in ProtocolInterface::SendMode

Also leave the strings split into deque, there's no need to pack it into a
string just to unpack it during the translate.

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

15 years agoConstruct explicit parameter type list for MODE parameters
danieldg [Fri, 6 Mar 2009 22:28:57 +0000 (22:28 +0000)]
Construct explicit parameter type list for MODE parameters

Previously, we used TR_SPACENICKLIST on the parameters. This worked only because
usually, if anything in the list parsed as a nick, then it was a nick. However,
some modes like +k and +g allow free-form text, which could also resolve as a
nick. Add extra parameters to allow modes to specify their TranslateType,
defaulting to TR_TEXT.

This fixes bug #757, found by Taros

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

15 years agoSend SVSNICKs during nick collision to prevent servers that do not fully implement...
danieldg [Fri, 6 Mar 2009 20:39:02 +0000 (20:39 +0000)]
Send SVSNICKs during nick collision to prevent servers that do not fully implement collisions from killing users

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

15 years agoDrop channel keys if they are identical to the already-set key (fix for bug #756...
w00t [Fri, 6 Mar 2009 10:04:51 +0000 (10:04 +0000)]
Drop channel keys if they are identical to the already-set key (fix for bug #756, reported by Taros)

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

15 years agoFix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes bug ...
w00t [Fri, 6 Mar 2009 10:04:50 +0000 (10:04 +0000)]
Fix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes bug #758 reported by Taros.

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

15 years agoFix +g notices going to remote users. Fixes bug #749, reported by Taros.
w00t [Fri, 6 Mar 2009 10:04:49 +0000 (10:04 +0000)]
Fix +g notices going to remote users. Fixes bug #749, reported by Taros.

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

15 years agoConvert helpop to use a ModeHandler base rather than a SimpleUserModeHandler, users...
w00t [Fri, 6 Mar 2009 10:04:42 +0000 (10:04 +0000)]
Convert helpop to use a ModeHandler base rather than a 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

15 years agom_sakick needs to be marked VF_COMMON
danieldg [Thu, 5 Mar 2009 21:45:16 +0000 (21:45 +0000)]
m_sakick needs to be marked VF_COMMON

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

15 years agoFinal configuration comment update [jdhore]
danieldg [Thu, 5 Mar 2009 05:41:17 +0000 (05:41 +0000)]
Final configuration comment update [jdhore]

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

15 years agoFix delayjoin adding an extra @ prefix mode
danieldg [Thu, 5 Mar 2009 01:51:30 +0000 (01:51 +0000)]
Fix delayjoin adding an extra @ prefix mode

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

15 years agoFix crash when services (or a misbehaving remote server) introduces a server with...
danieldg [Thu, 5 Mar 2009 01:27:19 +0000 (01:27 +0000)]
Fix crash when services (or a misbehaving remote server) introduces a server with duplicate SID

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

15 years agoAdd missing .example to modules.conf <include>
danieldg [Wed, 4 Mar 2009 05:24:15 +0000 (05:24 +0000)]
Add missing .example to modules.conf <include>

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

15 years agodelayjoin: Remove broken check for channel ops, use ModeHandler parameter instead
danieldg [Wed, 4 Mar 2009 05:12:25 +0000 (05:12 +0000)]
delayjoin: Remove broken check for channel ops, use ModeHandler parameter instead

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

15 years agoClean up delayjoin extension behavior
danieldg [Wed, 4 Mar 2009 04:54:09 +0000 (04:54 +0000)]
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

15 years agoGrammar/whitespace fixup
danieldg [Wed, 4 Mar 2009 00:57:52 +0000 (00:57 +0000)]
Grammar/whitespace fixup

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

15 years agoMore documentation to example configs [jdhore]
danieldg [Wed, 4 Mar 2009 00:46:12 +0000 (00:46 +0000)]
More documentation to example configs [jdhore]

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

15 years agoAdd more documentation to example configs [jdhore]
danieldg [Wed, 4 Mar 2009 00:07:56 +0000 (00:07 +0000)]
Add more documentation to example configs [jdhore]

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

15 years agoRestrict some /WHO options to opers
danieldg [Tue, 3 Mar 2009 17:45:31 +0000 (17:45 +0000)]
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

15 years agoRevert "Don't apply channel modes received in an non-burst, non-creation FJOIN, becau...
danieldg [Mon, 2 Mar 2009 23:38:04 +0000 (23:38 +0000)]
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

15 years agoDon't apply channel modes received in an non-burst, non-creation FJOIN, because they...
danieldg [Mon, 2 Mar 2009 22:08:56 +0000 (22:08 +0000)]
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

15 years agoFix +P channels being deleted when the final user /QUITs, thanks SnoFox
danieldg [Mon, 2 Mar 2009 04:23:22 +0000 (04:23 +0000)]
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

15 years agoFix a crash in m_conn_waitpong, spotted by Obi_Wan.
dz [Sun, 1 Mar 2009 13:20:28 +0000 (13:20 +0000)]
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

15 years agoRevert r10640, it blocked override notices unless they contained an op/deop/etc
danieldg [Fri, 27 Feb 2009 21:53:01 +0000 (21:53 +0000)]
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

15 years agoAdd more information to /CHECK output
danieldg [Fri, 27 Feb 2009 16:02:21 +0000 (16:02 +0000)]
Add more information to /CHECK output

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

15 years ago[Taros] Add m_sakick.so
danieldg [Fri, 27 Feb 2009 02:44:36 +0000 (02:44 +0000)]
[Taros] Add m_sakick.so

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

15 years agoFix SID-sourced KILL being displayed to killee as from SID not from server name
danieldg [Fri, 27 Feb 2009 01:05:05 +0000 (01:05 +0000)]
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

15 years agoFix previous module mismatch message; "remote" is misleading when sent as an ERROR
danieldg [Fri, 27 Feb 2009 01:04:57 +0000 (01:04 +0000)]
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

15 years agoAdd VF_COMMON to all modules that provide an extban
danieldg [Wed, 25 Feb 2009 19:03:13 +0000 (19:03 +0000)]
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

15 years agoRemove VF_COMMON from m_banredirect, it only adds an extban
danieldg [Wed, 25 Feb 2009 18:33:19 +0000 (18:33 +0000)]
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

15 years agoClarify CMD_LOCALONLY return values for /WATCH
danieldg [Wed, 25 Feb 2009 17:26:17 +0000 (17:26 +0000)]
Clarify CMD_LOCALONLY return values for /WATCH

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

15 years agom_customtitle: Don't route TITLE command, route metadata only
danieldg [Wed, 25 Feb 2009 17:26:09 +0000 (17:26 +0000)]
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

15 years agoAllow accountname to be changed without an explicit unset
danieldg [Wed, 25 Feb 2009 02:54:04 +0000 (02:54 +0000)]
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

15 years agoClarify module mismatch message
danieldg [Tue, 24 Feb 2009 23:50:04 +0000 (23:50 +0000)]
Clarify module mismatch message

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

15 years agoAllow non-opers to use /MKPASSWD
danieldg [Tue, 24 Feb 2009 18:14:38 +0000 (18:14 +0000)]
Allow non-opers to use /MKPASSWD

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

15 years agoFix svn:keywords on m_nationalchars.cpp
danieldg [Tue, 24 Feb 2009 03:19:19 +0000 (03:19 +0000)]
Fix svn:keywords on m_nationalchars.cpp

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

15 years agom_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning CMD_LOCALO...
special [Mon, 23 Feb 2009 13:30:38 +0000 (13:30 +0000)]
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

15 years agoForward port r11142: Commands that only give a response locally should not be propaga...
special [Mon, 23 Feb 2009 13:18:59 +0000 (13:18 +0000)]
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

15 years agoIn retrospect, not allowing *any* XLines to be set was pretty fucking stupid.
w00t [Sun, 22 Feb 2009 14:37:38 +0000 (14:37 +0000)]
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

15 years agoDon't remove an expired xline on add, simply drop duplicates (1.1 behaviour). This...
w00t [Sun, 22 Feb 2009 10:54:09 +0000 (10:54 +0000)]
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

15 years agoDon't allow expired XLines to be added.
w00t [Sun, 22 Feb 2009 10:54:08 +0000 (10:54 +0000)]
Don't allow expired XLines to be added.

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

15 years agoForward port r11137 from stable:
peavey [Sun, 22 Feb 2009 02:56:43 +0000 (02:56 +0000)]
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

15 years agoRemove unneeded "fd" member of issl_session
danieldg [Thu, 19 Feb 2009 22:32:17 +0000 (22:32 +0000)]
Remove unneeded "fd" member of issl_session

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

15 years agoRemove unneeded comment about warnings on 64-bit
danieldg [Thu, 19 Feb 2009 22:32:10 +0000 (22:32 +0000)]
Remove unneeded comment about warnings on 64-bit

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

15 years agoGnuTLS does not need a double-copy input buffer
danieldg [Thu, 19 Feb 2009 22:32:02 +0000 (22:32 +0000)]
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

15 years agoSAPART does indeed take up to 3 parameters.
dz [Thu, 19 Feb 2009 20:33:19 +0000 (20:33 +0000)]
SAPART does indeed take up to 3 parameters.

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

15 years agoFix crash on /SHUN with exactly 2 parameters
danieldg [Thu, 19 Feb 2009 18:02:46 +0000 (18:02 +0000)]
Fix crash on /SHUN with exactly 2 parameters

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

15 years agoRestrict /WHO <item> M to opers
danieldg [Thu, 19 Feb 2009 17:23:05 +0000 (17:23 +0000)]
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

15 years agoAdd UID to CHECK output
danieldg [Wed, 18 Feb 2009 21:06:00 +0000 (21:06 +0000)]
Add UID to CHECK output

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

15 years agoRemove unused NumServers field
danieldg [Wed, 18 Feb 2009 21:05:53 +0000 (21:05 +0000)]
Remove unused NumServers field

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

15 years agoRemove MaxMapHeight, replace with dynamically sized buffers
danieldg [Wed, 18 Feb 2009 19:46:31 +0000 (19:46 +0000)]
Remove MaxMapHeight, replace with dynamically sized buffers

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

15 years agoApparently casting to float is not sufficient to cause a conversion
danieldg [Wed, 18 Feb 2009 18:04:39 +0000 (18:04 +0000)]
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

15 years agoRework /MAP output to not be overly wide
danieldg [Wed, 18 Feb 2009 17:52:20 +0000 (17:52 +0000)]
Rework /MAP output to not be overly wide

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

15 years agoRemove had no maxpara
brain [Wed, 18 Feb 2009 08:36:11 +0000 (08:36 +0000)]
Remove had no maxpara

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

15 years agoMaxpara on these was 3, should be 2
brain [Wed, 18 Feb 2009 08:31:13 +0000 (08:31 +0000)]
Maxpara on these was 3, should be 2

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

15 years agoRemove redundant PriorityState, enum Priority does the exact same thing.
w00t [Mon, 16 Feb 2009 22:14:36 +0000 (22:14 +0000)]
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

15 years agoRemove duplicate quote, reported by DukePyrolator.
w00t [Mon, 16 Feb 2009 16:38:41 +0000 (16:38 +0000)]
Remove duplicate quote, reported by DukePyrolator.

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

15 years agoFew minor helpop updates..
w00t [Mon, 16 Feb 2009 16:30:18 +0000 (16:30 +0000)]
Few minor helpop updates..

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

15 years agoUpdate some missing svn:ignores
danieldg [Sun, 15 Feb 2009 19:07:38 +0000 (19:07 +0000)]
Update some missing svn:ignores

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

15 years agoSeveral changes
peavey [Sun, 15 Feb 2009 15:31:46 +0000 (15:31 +0000)]
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

15 years agoFixify comments
peavey [Sun, 15 Feb 2009 13:23:48 +0000 (13:23 +0000)]
Fixify comments

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

15 years agoFix warning
brain [Sun, 15 Feb 2009 13:20:52 +0000 (13:20 +0000)]
Fix warning

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

15 years agoTarget route SANICK and when we hit the target let NICK do the propogating for desync...
peavey [Sun, 15 Feb 2009 13:19:05 +0000 (13:19 +0000)]
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

15 years agoRARRR, 11111 is MEIN! :3
brain [Sun, 15 Feb 2009 09:21:20 +0000 (09:21 +0000)]
RARRR, 11111 is MEIN! :3

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

15 years agoFix for bug #725, operprefix rank value conflicts with founder rank value, raise...
brain [Sun, 15 Feb 2009 09:20:46 +0000 (09:20 +0000)]
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

15 years agoAlso Extend user with FORCENick when calling the actual command handler for NICK...
peavey [Sun, 15 Feb 2009 08:57:16 +0000 (08:57 +0000)]
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

15 years agom_operprefix: Remove IS_LOCAL checks to also set/unset +y on remote opers
danieldg [Sun, 15 Feb 2009 04:31:38 +0000 (04:31 +0000)]
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

15 years agoMake glob patterns in module load work correctly. Fixes bug #724 reported by SnoFox.
peavey [Sat, 14 Feb 2009 21:47:40 +0000 (21:47 +0000)]
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

15 years agoAdd missing header #define assuring its only included once where needed
peavey [Sat, 14 Feb 2009 21:14:43 +0000 (21:14 +0000)]
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

15 years agoNuke trailing spaces
peavey [Sat, 14 Feb 2009 21:14:36 +0000 (21:14 +0000)]
Nuke trailing spaces

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

15 years agoLe oops, got wrong sender on kick.
peavey [Sat, 14 Feb 2009 19:57:35 +0000 (19:57 +0000)]
Le oops, got wrong sender on kick.

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

15 years agoMake override work with KICK PART and JOIN
peavey [Sat, 14 Feb 2009 19:51:58 +0000 (19:51 +0000)]
Make override work with KICK PART and JOIN

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

15 years agoFix reverse logic on oper override on names list
peavey [Sat, 14 Feb 2009 19:01:22 +0000 (19:01 +0000)]
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

15 years agoAdd security:genericoper as requested by Strawberry and TwinShadow.
brain [Fri, 13 Feb 2009 09:21:30 +0000 (09:21 +0000)]
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

15 years agoAllow install path with spaces (dont escape the spaces). Fixes bug #717 reported...
peavey [Thu, 12 Feb 2009 20:07:55 +0000 (20:07 +0000)]
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

15 years agoForward port r11094:
peavey [Thu, 12 Feb 2009 19:27:08 +0000 (19:27 +0000)]
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

15 years agoand here, and here
peavey [Thu, 12 Feb 2009 18:05:08 +0000 (18:05 +0000)]
and here, and here

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

15 years agoAh pasting, also remove this var from here
peavey [Thu, 12 Feb 2009 18:05:07 +0000 (18:05 +0000)]
Ah pasting, also remove this var from here

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

15 years agoNuke an unused var
peavey [Thu, 12 Feb 2009 18:05:05 +0000 (18:05 +0000)]
Nuke an unused var

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

15 years agoSeveral fixes to mysql module:
peavey [Thu, 12 Feb 2009 15:25:00 +0000 (15:25 +0000)]
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

15 years agoMake notice slightly more pretty, suggestion from KingTarquin.
w00t [Thu, 12 Feb 2009 12:08:15 +0000 (12:08 +0000)]
Make notice slightly more pretty, suggestion from KingTarquin.

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

15 years agoI really dont get the oddball count()? rewrite it
brain [Wed, 11 Feb 2009 23:47:06 +0000 (23:47 +0000)]
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

15 years agoMerge in initial numbered parameters patch from Phoenix, thanks :)
brain [Wed, 11 Feb 2009 23:35:42 +0000 (23:35 +0000)]
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

15 years agoFix nick@server.target PRIVMSG and NOTICE, noticed by GeniusDex.
w00t [Wed, 11 Feb 2009 20:41:53 +0000 (20:41 +0000)]
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

15 years agoFix error when configuring with a custom directory: http://www.inspircd.org/forum...
brain [Wed, 11 Feb 2009 17:17:22 +0000 (17:17 +0000)]
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

15 years agoAdd a missing colon. Due to PUSH, it requires two here. Reported by Jobe, thanks! :)
w00t [Wed, 11 Feb 2009 15:33:06 +0000 (15:33 +0000)]
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

15 years agoSomeone forgot to git add. This is part of r11082 (add locate cjk-utf8)
peavey [Wed, 11 Feb 2009 10:57:07 +0000 (10:57 +0000)]
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

15 years agoPatch by Phoenix
peavey [Wed, 11 Feb 2009 10:51:18 +0000 (10:51 +0000)]
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

15 years agoRemove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 reported by...
peavey [Wed, 11 Feb 2009 03:09:01 +0000 (03:09 +0000)]
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

15 years agoPrevent fantasy aliases from blocking user commands (eg. !topic would prevent users...
dz [Tue, 10 Feb 2009 02:26:44 +0000 (02:26 +0000)]
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

15 years agoRemove space before first user in FJOIN; also call c->ChanModes less for large channels
danieldg [Mon, 9 Feb 2009 22:12:27 +0000 (22:12 +0000)]
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

15 years agoFix merge FJOIN debug message
danieldg [Mon, 9 Feb 2009 21:46:21 +0000 (21:46 +0000)]
Fix merge FJOIN debug message

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

15 years agoStill restart inspircd if the previous instance didn't die quietly, fixes bug #713...
dz [Mon, 9 Feb 2009 19:55:56 +0000 (19:55 +0000)]
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

15 years agoDocument shun:affectopers with patch provided by Ankit, closing bug #710, thanks!
brain [Mon, 9 Feb 2009 12:39:54 +0000 (12:39 +0000)]
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

15 years agoMerge fantasy:allowbots patch from Taros, closing off bug #709, thanks!
brain [Mon, 9 Feb 2009 12:38:04 +0000 (12:38 +0000)]
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

15 years agoTrap SIGXFSZ
brain [Mon, 9 Feb 2009 09:11:20 +0000 (09:11 +0000)]
Trap SIGXFSZ

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

15 years agoFix: always have a colon marking the last FJOIN parameter, otherwise servers are...
w00t [Sun, 8 Feb 2009 22:56:08 +0000 (22:56 +0000)]
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

15 years agoAllow this to handle RC style names
brain [Sun, 8 Feb 2009 18:22:41 +0000 (18:22 +0000)]
Allow this to handle RC style names

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

15 years agoThe cow is ready, come get it!!! :D
brain [Sun, 8 Feb 2009 17:54:17 +0000 (17:54 +0000)]
The cow is ready, come get it!!! :D

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

15 years agoIncorrect documentation of cgi:irc password, thanks to Sm0ke0ut and rj_ for finding
brain [Sun, 8 Feb 2009 17:46:09 +0000 (17:46 +0000)]
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

15 years agoGrr fucking windows grrrr fuckity fuckity
brain [Sun, 8 Feb 2009 17:20:37 +0000 (17:20 +0000)]
Grr fucking windows grrrr fuckity fuckity

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