]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
14 years agoSort CAPAB CHANMODES and USERMODES
danieldg [Tue, 9 Feb 2010 22:53:41 +0000 (22:53 +0000)]
Sort CAPAB CHANMODES and USERMODES

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

14 years agoFix double-free when catching an exception in module init()
danieldg [Tue, 9 Feb 2010 21:04:14 +0000 (21:04 +0000)]
Fix double-free when catching an exception in module init()

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

14 years agoEliminate duplicate names between user and channel modes
danieldg [Tue, 9 Feb 2010 19:35:14 +0000 (19:35 +0000)]
Eliminate duplicate names between user and channel modes

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

14 years agoAllow exemptchanops to modify the channel access level needed to bypass +t
danieldg [Tue, 9 Feb 2010 15:18:06 +0000 (15:18 +0000)]
Allow exemptchanops to modify the channel access level needed to bypass +t

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

14 years agoUpdate m_exemptchanops to allow users to specify the status required for the exemption
danieldg [Tue, 9 Feb 2010 08:08:39 +0000 (08:08 +0000)]
Update m_exemptchanops to allow users to specify the status required for the exemption

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

14 years agoMove password checking into connect class search
danieldg [Tue, 9 Feb 2010 05:54:43 +0000 (05:54 +0000)]
Move password checking into connect class search

This makes it possible to have a passworded connect class that is
open to any host without denying users that do not use the password.

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

14 years agoClean up documentation of connect blocks a bit
danieldg [Tue, 9 Feb 2010 05:35:19 +0000 (05:35 +0000)]
Clean up documentation of connect blocks a bit

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

14 years agoThis module isn't supposed to be part of 2.0; it will be third-party until 2.1
danieldg [Tue, 9 Feb 2010 05:05:09 +0000 (05:05 +0000)]
This module isn't supposed to be part of 2.0; it will be third-party until 2.1

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

14 years agoChange <connect:requiresasl> to <connect:requireaccount>, which is more accurate
danieldg [Tue, 9 Feb 2010 04:57:13 +0000 (04:57 +0000)]
Change <connect:requiresasl> to <connect:requireaccount>, which is more accurate

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

14 years agoMove chanhistory to PostJoin hook
danieldg [Tue, 9 Feb 2010 03:40:20 +0000 (03:40 +0000)]
Move chanhistory to PostJoin hook

While irssi is currently able to show the lines sent prior to join,
it is better for this module to work on all clients without modification.

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

14 years agohalf-voice is a better name than status prefix
danieldg [Tue, 9 Feb 2010 02:22:44 +0000 (02:22 +0000)]
half-voice is a better name than status prefix

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

14 years agoAdd authorization cache module
danieldg [Tue, 9 Feb 2010 02:22:36 +0000 (02:22 +0000)]
Add authorization cache module

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

14 years agoAdd random number generation functions to InspIRCd class.
danieldg [Tue, 9 Feb 2010 02:22:27 +0000 (02:22 +0000)]
Add random number generation functions to InspIRCd class.

Default implementation uses libc random(), which can be better than rand().
If gnutls is loaded, gcrypt will be used to provide random numbers.

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

14 years agoFix error message on OPTCOMMON mismatch
danieldg [Tue, 9 Feb 2010 00:55:35 +0000 (00:55 +0000)]
Fix error message on OPTCOMMON mismatch

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

14 years agoSSL certificate requests prior to full registration must use SocketCertificateRequest
danieldg [Mon, 8 Feb 2010 22:40:30 +0000 (22:40 +0000)]
SSL certificate requests prior to full registration must use SocketCertificateRequest

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

14 years agoAdd <connect requiressl="trusted"> to force CA verification for clients on this block
danieldg [Mon, 8 Feb 2010 19:38:54 +0000 (19:38 +0000)]
Add <connect requiressl="trusted"> to force CA verification for clients on this block

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

14 years agoAlso allow <connect rules>
danieldg [Mon, 8 Feb 2010 19:38:46 +0000 (19:38 +0000)]
Also allow <connect rules>

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

14 years agoAllow <connect motd> to select an alternate MOTD file to display
danieldg [Mon, 8 Feb 2010 15:07:29 +0000 (15:07 +0000)]
Allow <connect motd> to select an alternate MOTD file to display

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

14 years agoAllow <connect autojoin=""> to override the m_conn_join channel list
danieldg [Mon, 8 Feb 2010 14:51:26 +0000 (14:51 +0000)]
Allow <connect autojoin=""> to override the m_conn_join channel list

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

14 years agoFix typo
danieldg [Sun, 7 Feb 2010 23:32:26 +0000 (23:32 +0000)]
Fix typo

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

14 years agoFix crash on kick when +J is set, +misc cleanup
danieldg [Sun, 7 Feb 2010 23:18:53 +0000 (23:18 +0000)]
Fix crash on kick when +J is set, +misc cleanup

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

14 years agoUpdate example config for passforward and RPC module changes [jdhore]
danieldg [Sun, 7 Feb 2010 05:24:06 +0000 (05:24 +0000)]
Update example config for passforward and RPC module changes [jdhore]

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

14 years agoMore cleanup of quit servers
danieldg [Sun, 7 Feb 2010 03:36:55 +0000 (03:36 +0000)]
More cleanup of quit servers

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

14 years agoDon't send GODMODE snomask for remote users (let SendGlobalSno handle that)
danieldg [Sun, 7 Feb 2010 03:03:57 +0000 (03:03 +0000)]
Don't send GODMODE snomask for remote users (let SendGlobalSno handle that)

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

14 years agoChange PROP command format to accept multiple changes in one line
danieldg [Sun, 7 Feb 2010 00:36:31 +0000 (00:36 +0000)]
Change PROP command format to accept multiple changes in one line

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

14 years agoFix left/right inversion in ListDifference
danieldg [Sat, 6 Feb 2010 19:26:44 +0000 (19:26 +0000)]
Fix left/right inversion in ListDifference

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

14 years agoAdd PROP command to m_namedmodes
danieldg [Sat, 6 Feb 2010 19:20:10 +0000 (19:20 +0000)]
Add PROP command to m_namedmodes

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

14 years agorename channel modes +it to distinguish them from commands
danieldg [Sat, 6 Feb 2010 19:20:00 +0000 (19:20 +0000)]
rename channel modes +it to distinguish them from commands

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

14 years agoFail adding of new mode when its prefix is already in use
danieldg [Sat, 6 Feb 2010 16:35:07 +0000 (16:35 +0000)]
Fail adding of new mode when its prefix is already in use

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

14 years agoAdd mode +V, status prefix. Because we haven't used up enough channel mode letters...
danieldg [Sat, 6 Feb 2010 16:27:00 +0000 (16:27 +0000)]
Add mode +V, status prefix. Because we haven't used up enough channel mode letters yet.

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

14 years agoClean up empty/unused directories
danieldg [Sat, 6 Feb 2010 04:58:44 +0000 (04:58 +0000)]
Clean up empty/unused directories

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

14 years agoMove configuration examples to docs, remove automatic overwrite on make install
danieldg [Sat, 6 Feb 2010 04:29:02 +0000 (04:29 +0000)]
Move configuration examples to docs, remove automatic overwrite on make install

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

14 years agoSend module load/unload notifications so that services can learn of new features...
danieldg [Sat, 6 Feb 2010 04:08:18 +0000 (04:08 +0000)]
Send module load/unload notifications so that services can learn of new features without splitting

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

14 years agoFix NICKLOCK/SANICK errors with Q:lined nicks
danieldg [Fri, 5 Feb 2010 15:59:06 +0000 (15:59 +0000)]
Fix NICKLOCK/SANICK errors with Q:lined nicks

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

14 years agoRemove incorrect access checks from m_ojoin
danieldg [Fri, 5 Feb 2010 15:58:58 +0000 (15:58 +0000)]
Remove incorrect access checks from m_ojoin

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

14 years agoDon't enforce access control on remote users for topic changes
danieldg [Fri, 5 Feb 2010 04:53:44 +0000 (04:53 +0000)]
Don't enforce access control on remote users for topic changes

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

14 years agoConfig updates from jdhore
danieldg [Thu, 4 Feb 2010 20:43:07 +0000 (20:43 +0000)]
Config updates from jdhore

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

14 years agoClarify fingerprint comments in example oper block
danieldg [Thu, 4 Feb 2010 14:36:16 +0000 (14:36 +0000)]
Clarify fingerprint comments in example oper block

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

14 years agoFix FIDENT response forging to run prior to the ENCAP strip
danieldg [Thu, 4 Feb 2010 14:36:09 +0000 (14:36 +0000)]
Fix FIDENT response forging to run prior to the ENCAP strip

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

14 years agoFix wrapping check so we waste slightly fewer lines in syncing ban lists via FMODE
danieldg [Thu, 4 Feb 2010 14:36:00 +0000 (14:36 +0000)]
Fix wrapping check so we waste slightly fewer lines in syncing ban lists via FMODE

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

14 years agoAdd DYING link state, push error messages on link, and only limit recvq on unauthenti...
danieldg [Thu, 4 Feb 2010 00:47:40 +0000 (00:47 +0000)]
Add DYING link state, push error messages on link, and only limit recvq on unauthenticated servers

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

14 years agoSplit servers if they try to send infinite garbage without a newline
danieldg [Wed, 3 Feb 2010 21:57:18 +0000 (21:57 +0000)]
Split servers if they try to send infinite garbage without a newline

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

14 years agoDon't use hosts more than 64 characters long from CGI:IRC
danieldg [Wed, 3 Feb 2010 21:43:17 +0000 (21:43 +0000)]
Don't use hosts more than 64 characters long from CGI:IRC

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

14 years agoDelink servers using an SSL module that is being reloaded
danieldg [Wed, 3 Feb 2010 21:43:10 +0000 (21:43 +0000)]
Delink servers using an SSL module that is being reloaded

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

14 years agoFix STARTTLS sending the 670 numeric within the SSL session, not prior to it
danieldg [Wed, 3 Feb 2010 21:43:02 +0000 (21:43 +0000)]
Fix STARTTLS sending the 670 numeric within the SSL session, not prior to it

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

14 years agoForge FIDENT reply to CHGIDENT to prevent ident desync with 1.2 and 2.0 servers
danieldg [Wed, 3 Feb 2010 21:42:54 +0000 (21:42 +0000)]
Forge FIDENT reply to CHGIDENT to prevent ident desync with 1.2 and 2.0 servers

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

14 years agoFix mode required error message
danieldg [Wed, 3 Feb 2010 21:42:47 +0000 (21:42 +0000)]
Fix mode required error message

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

14 years agoFix cidr_mask::str not correctly displaying mask length
danieldg [Wed, 3 Feb 2010 19:12:04 +0000 (19:12 +0000)]
Fix cidr_mask::str not correctly displaying mask length

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

14 years agoFix segfault on GRELOADMODULE
danieldg [Wed, 3 Feb 2010 16:37:23 +0000 (16:37 +0000)]
Fix segfault on GRELOADMODULE

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

14 years agoAdd access checking for m_autoop
danieldg [Wed, 3 Feb 2010 16:28:08 +0000 (16:28 +0000)]
Add access checking for m_autoop

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

14 years agoDon't try to use CIDR matching unless a CIDR range has been given in MatchCIDR
danieldg [Wed, 3 Feb 2010 08:26:07 +0000 (08:26 +0000)]
Don't try to use CIDR matching unless a CIDR range has been given in MatchCIDR

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

14 years agoAdd m_autoop.so - ircd-side channel access lists via listmode +w
danieldg [Wed, 3 Feb 2010 05:17:17 +0000 (05:17 +0000)]
Add m_autoop.so - ircd-side channel access lists via listmode +w

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

14 years agoDon't try to load modules with filenames starting with a .
danieldg [Tue, 2 Feb 2010 23:24:43 +0000 (23:24 +0000)]
Don't try to load modules with filenames starting with a .

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

14 years agoAllow SSL fingerprint hash to be specified, and show fingerprint to client on connect
danieldg [Tue, 2 Feb 2010 23:24:30 +0000 (23:24 +0000)]
Allow SSL fingerprint hash to be specified, and show fingerprint to client on connect

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

14 years agoAdd requiresasl to connect block checks
danieldg [Tue, 2 Feb 2010 19:03:16 +0000 (19:03 +0000)]
Add requiresasl to connect block checks

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

14 years agoAllow opermotd to specify its file in <files> without also requiring an <opermotd...
danieldg [Tue, 2 Feb 2010 19:03:07 +0000 (19:03 +0000)]
Allow opermotd to specify its file in <files> without also requiring an <opermotd> block

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

14 years agoExecutable include for MOTD and more
danieldg [Tue, 2 Feb 2010 16:47:25 +0000 (16:47 +0000)]
Executable include for MOTD and more

This introduces an <execfiles> tag that reads files from the output of
a command, in the same way as executable includes. The files specified
here can also be used anywhere a file is used (opermotd, randquote, etc)

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

14 years agoAdd requireident/requiressl to connect blocks
danieldg [Tue, 2 Feb 2010 15:02:42 +0000 (15:02 +0000)]
Add requireident/requiressl to connect blocks

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

14 years agoAdd OnSetConnectClass hook for use in adding requirements to connect classes (such...
danieldg [Tue, 2 Feb 2010 15:02:33 +0000 (15:02 +0000)]
Add OnSetConnectClass hook for use in adding requirements to connect classes (such as requiressl)

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

14 years agoSort items in the 005 line
danieldg [Tue, 2 Feb 2010 15:02:25 +0000 (15:02 +0000)]
Sort items in the 005 line

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

14 years agoImprove SSL fingerprint on link message
danieldg [Mon, 1 Feb 2010 20:42:47 +0000 (20:42 +0000)]
Improve SSL fingerprint on link message

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

14 years agoStrip colons from server SSL fingerprint, to allow the output of certificate informat...
danieldg [Mon, 1 Feb 2010 20:42:39 +0000 (20:42 +0000)]
Strip colons from server SSL fingerprint, to allow the output of certificate information tools to be used directly

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

14 years agoAllow <link password=""> to specify identical send/recv passwords
danieldg [Mon, 1 Feb 2010 19:47:28 +0000 (19:47 +0000)]
Allow <link password=""> to specify identical send/recv passwords

This can be simpler to use (don't need to swap send/recv between servers)
Having identical passwords is very slightly less secure than having them
differ; this doesn't remove sendpass/recvpass. It is recommended to use
SSL fingerprints to authenticate servers for best security.

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

14 years agoSpacify the oper name in STATS O
danieldg [Mon, 1 Feb 2010 19:47:20 +0000 (19:47 +0000)]
Spacify the oper name in STATS O

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

14 years agoFix possible uninit memory access detected by valgrind
danieldg [Mon, 1 Feb 2010 01:32:10 +0000 (01:32 +0000)]
Fix possible uninit memory access detected by valgrind

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

14 years agoAdd parameters to OnSendWhoLine hook, fixes "/who * o" returning opers with +H
danieldg [Mon, 1 Feb 2010 01:31:40 +0000 (01:31 +0000)]
Add parameters to OnSendWhoLine hook, fixes "/who * o" returning opers with +H

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

14 years agoDisplay allowed oper modes, commands, and permissions in /CHECK
danieldg [Mon, 1 Feb 2010 01:30:39 +0000 (01:30 +0000)]
Display allowed oper modes, commands, and permissions in /CHECK

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

14 years agoMark +P mode as oper-only now that it no longer requires an explicit permission string
danieldg [Mon, 1 Feb 2010 01:29:17 +0000 (01:29 +0000)]
Mark +P mode as oper-only now that it no longer requires an explicit permission string

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

14 years agoAdd stats O, oper type/permission list
danieldg [Mon, 1 Feb 2010 01:28:35 +0000 (01:28 +0000)]
Add stats O, oper type/permission list

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

14 years agoDon't run OnUserPostNick hook for initial NICK command
danieldg [Mon, 1 Feb 2010 01:18:34 +0000 (01:18 +0000)]
Don't run OnUserPostNick hook for initial NICK command

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

14 years agoCorrectly abort attempted socket writes on error
danieldg [Mon, 1 Feb 2010 00:46:25 +0000 (00:46 +0000)]
Correctly abort attempted socket writes on error

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

14 years agoIncrease penalty for KNOCK
danieldg [Sun, 31 Jan 2010 19:54:33 +0000 (19:54 +0000)]
Increase penalty for KNOCK

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

14 years agoRemove duplicated permisison check for setting mode +P (it is already restricted...
danieldg [Sun, 31 Jan 2010 19:54:26 +0000 (19:54 +0000)]
Remove duplicated permisison check for setting mode +P (it is already restricted in allowed chanmodes)

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

14 years agoUpdate connect block matching on rehash to prefer names, show more useful information...
danieldg [Sun, 31 Jan 2010 19:54:18 +0000 (19:54 +0000)]
Update connect block matching on rehash to prefer names, show more useful information in /STATS i

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

14 years agoAllow connect classes to be specified without an allow or deny mask
danieldg [Sun, 31 Jan 2010 03:42:20 +0000 (03:42 +0000)]
Allow connect classes to be specified without an allow or deny mask

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

14 years agoForward-port of r12333, clone-counting fix for m_cgiirc
danieldg [Sat, 30 Jan 2010 23:03:59 +0000 (23:03 +0000)]
Forward-port of r12333, clone-counting fix for m_cgiirc

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

14 years agoStop parsing inbound server lines on an error
danieldg [Sat, 30 Jan 2010 23:03:52 +0000 (23:03 +0000)]
Stop parsing inbound server lines on an error

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

14 years agoRemove UpdateNickHash due to incorrect behavior
danieldg [Sat, 30 Jan 2010 18:56:39 +0000 (18:56 +0000)]
Remove UpdateNickHash due to incorrect behavior

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

14 years agoMove nick change code out of cmd_nick; fixes double-invocation of hooks and may elimi...
danieldg [Sat, 30 Jan 2010 18:40:51 +0000 (18:40 +0000)]
Move nick change code out of cmd_nick; fixes double-invocation of hooks and may eliminate bug #911

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

14 years agoRemove a few needless string crops, compile fix
danieldg [Sat, 30 Jan 2010 18:02:25 +0000 (18:02 +0000)]
Remove a few needless string crops, compile fix

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

14 years agoRemove FakeUser from clientlist/uuidlist, as it bypasses QuitUser
danieldg [Sat, 30 Jan 2010 16:36:47 +0000 (16:36 +0000)]
Remove FakeUser from clientlist/uuidlist, as it bypasses QuitUser

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

14 years agoRemove users from uuidlist on QuitUser, not during cull (allows UID reuse on fast...
danieldg [Sat, 30 Jan 2010 15:44:51 +0000 (15:44 +0000)]
Remove users from uuidlist on QuitUser, not during cull (allows UID reuse on fast netsplits)

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

14 years agoRemove MaxWhoResults, replace with an increase of Penalty based on result list size
danieldg [Fri, 29 Jan 2010 00:08:45 +0000 (00:08 +0000)]
Remove MaxWhoResults, replace with an increase of Penalty based on result list size

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

14 years agoFix empty FMODE being sent if SendMode mode changes
danieldg [Thu, 28 Jan 2010 20:16:31 +0000 (20:16 +0000)]
Fix empty FMODE being sent if SendMode mode changes

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

14 years agoAllow nick locking to prevent voluntary changes to UID
danieldg [Sun, 24 Jan 2010 22:31:04 +0000 (22:31 +0000)]
Allow nick locking to prevent voluntary changes to UID

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

14 years agoUse UID/SID as the source for ENCAP commands, not server name
danieldg [Sun, 24 Jan 2010 02:44:49 +0000 (02:44 +0000)]
Use UID/SID as the source for ENCAP commands, not server name

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

14 years agoFix ENCAP stripping, was incorrectly checking for " CHGHOST" and similar commands
danieldg [Sun, 24 Jan 2010 02:29:28 +0000 (02:29 +0000)]
Fix ENCAP stripping, was incorrectly checking for " CHGHOST" and similar commands

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

14 years agoIf SVSNICK is sent to force a change to a UID-lookalike, just change nick to UID...
danieldg [Sun, 24 Jan 2010 02:01:38 +0000 (02:01 +0000)]
If SVSNICK is sent to force a change to a UID-lookalike, just change nick to UID. Fixes bug #932

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

14 years agoDon't query module version prior to init; fixes valgrind segfault
danieldg [Sun, 24 Jan 2010 00:15:15 +0000 (00:15 +0000)]
Don't query module version prior to init; fixes valgrind segfault

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

14 years agoFall back to copying bind IP if getsockname() fails, as it apparently can on Windows
danieldg [Fri, 22 Jan 2010 14:55:57 +0000 (14:55 +0000)]
Fall back to copying bind IP if getsockname() fails, as it apparently can on Windows

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

14 years agoAllow redirect bans to be unset by any op/halfop (bug #936)
danieldg [Thu, 21 Jan 2010 22:48:56 +0000 (22:48 +0000)]
Allow redirect bans to be unset by any op/halfop (bug #936)

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

14 years agoPut ConfigReader deprecation warning in logs
danieldg [Thu, 21 Jan 2010 20:47:10 +0000 (20:47 +0000)]
Put ConfigReader deprecation warning in logs

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

14 years agoRemove unneeded save of errno
danieldg [Thu, 21 Jan 2010 20:47:02 +0000 (20:47 +0000)]
Remove unneeded save of errno

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

14 years agoFix incorrect forward-port of patch
danieldg [Tue, 19 Jan 2010 17:02:29 +0000 (17:02 +0000)]
Fix incorrect forward-port of patch

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

14 years agoSlightly more comprehensible message for connect throttle banning.
danieldg [Tue, 19 Jan 2010 17:00:38 +0000 (17:00 +0000)]
Slightly more comprehensible message for connect throttle banning.

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

14 years agoFix some command registration warnings
danieldg [Tue, 19 Jan 2010 15:16:41 +0000 (15:16 +0000)]
Fix some command registration warnings

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

14 years agoERROR is not a valid log level, so all these messages were getting dropped
danieldg [Tue, 19 Jan 2010 15:16:33 +0000 (15:16 +0000)]
ERROR is not a valid log level, so all these messages were getting dropped

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

14 years agoExtbans can be VF_OPTCOMMON as they do not desync on module add/remove
danieldg [Tue, 19 Jan 2010 15:16:24 +0000 (15:16 +0000)]
Extbans can be VF_OPTCOMMON as they do not desync on module add/remove

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

14 years agoRemove overrides for ADMIN, STATS, TIME
danieldg [Tue, 19 Jan 2010 05:08:14 +0000 (05:08 +0000)]
Remove overrides for ADMIN, STATS, TIME

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

14 years agoFix MOTD and RULES to work remotely (remove the old hacks for MOTD)
danieldg [Tue, 19 Jan 2010 04:43:19 +0000 (04:43 +0000)]
Fix MOTD and RULES to work remotely (remove the old hacks for MOTD)

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