]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
18 years agoFixed line endings when skipping ssl cert generation
brain [Wed, 25 Jan 2006 17:53:34 +0000 (17:53 +0000)]
Fixed line endings when skipping ssl cert generation

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

18 years agoFixes to typos
brain [Wed, 25 Jan 2006 17:52:44 +0000 (17:52 +0000)]
Fixes to typos

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

18 years agoGrr.
brain [Wed, 25 Jan 2006 17:51:47 +0000 (17:51 +0000)]
Grr.

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

18 years agoFIXED to actually do things PROPERLY - why do people have to mess with stuff that...
brain [Wed, 25 Jan 2006 17:31:46 +0000 (17:31 +0000)]
FIXED to actually do things PROPERLY - why do people have to mess with stuff that works fine, so close to release date?

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

18 years agoDocumented some functions that were missing comments
brain [Wed, 25 Jan 2006 17:00:46 +0000 (17:00 +0000)]
Documented some functions that were missing comments

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

18 years agoProperly check that existing key resides in conf/ and not current dir
brain [Wed, 25 Jan 2006 16:41:24 +0000 (16:41 +0000)]
Properly check that existing key resides in conf/ and not current dir

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

18 years agoAdded PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how...
brain [Wed, 25 Jan 2006 16:31:05 +0000 (16:31 +0000)]
Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how it works, function Prioritize())

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

18 years agoAdded -modupdate to regenerate modules makefile
frostycoolslug [Wed, 25 Jan 2006 16:26:25 +0000 (16:26 +0000)]
Added -modupdate to regenerate modules makefile
Added SSL option, as well as a 'Build Certificate' section (If avaliable)

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

18 years agoOh noes, a typoed comment :x
om [Wed, 25 Jan 2006 15:38:49 +0000 (15:38 +0000)]
Oh noes, a typoed comment :x

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

18 years agoremove redundant variable and fix log output
om [Wed, 25 Jan 2006 15:35:40 +0000 (15:35 +0000)]
remove redundant variable and fix log output

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

18 years agoAnd making m_ssl_gnutls require an 'ssl' parameter to /rehash to reload certificates
om [Wed, 25 Jan 2006 14:55:27 +0000 (14:55 +0000)]
And making m_ssl_gnutls require an 'ssl' parameter to /rehash to reload certificates

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

18 years agoAdding the +e and +I modules m_banexception and m_inviteexception, also adding their...
om [Wed, 25 Jan 2006 14:49:12 +0000 (14:49 +0000)]
Adding the +e and +I modules m_banexception and m_inviteexception, also adding their shared utility header

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

18 years agokludge in the wrong place ;)
brain [Tue, 24 Jan 2006 17:11:02 +0000 (17:11 +0000)]
kludge in the wrong place ;)

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

18 years agoAdded trick to allow local server to unset -r only in one specific condition (the...
brain [Tue, 24 Jan 2006 17:08:47 +0000 (17:08 +0000)]
Added trick to allow local server to unset -r only in one specific condition (the nickchange)

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

18 years agoAdded code to remove +r on a nick if they have it and change nicks
brain [Tue, 24 Jan 2006 17:04:40 +0000 (17:04 +0000)]
Added code to remove +r on a nick if they have it and change nicks

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

18 years agoSwapped around params to make this work
brain [Tue, 24 Jan 2006 16:36:56 +0000 (16:36 +0000)]
Swapped around params to make this work

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

18 years agoAdded joinflood +j
root [Tue, 24 Jan 2006 16:22:09 +0000 (16:22 +0000)]
Added joinflood +j

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

18 years agoFixed another instance of IP being shown
brain [Mon, 23 Jan 2006 22:53:16 +0000 (22:53 +0000)]
Fixed another instance of IP being shown

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

18 years agoFixed to not display ip where not needed (breaks hidden hubs)
brain [Mon, 23 Jan 2006 22:50:00 +0000 (22:50 +0000)]
Fixed to not display ip where not needed (breaks hidden hubs)

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

18 years agoMade bans check both real and fake host
brain [Mon, 23 Jan 2006 20:37:20 +0000 (20:37 +0000)]
Made bans check both real and fake host

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

18 years agoTypo fix
brain [Mon, 23 Jan 2006 19:22:16 +0000 (19:22 +0000)]
Typo fix

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

18 years agoPatched to allow FTOPIC from users (so that chanserv can update the settime and the...
brain [Mon, 23 Jan 2006 19:20:45 +0000 (19:20 +0000)]
Patched to allow FTOPIC from users (so that chanserv can update the settime and the topic still come from chanserv)

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

18 years agoTypo fix
brain [Mon, 23 Jan 2006 17:30:20 +0000 (17:30 +0000)]
Typo fix

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

18 years agoAdded <link:hidden> to docs
brain [Mon, 23 Jan 2006 17:19:48 +0000 (17:19 +0000)]
Added <link:hidden> to docs

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

18 years agoWarning fix.
brain [Mon, 23 Jan 2006 17:16:49 +0000 (17:16 +0000)]
Warning fix.

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

18 years agoOptional IP-Hiding for servers
brain [Mon, 23 Jan 2006 17:13:59 +0000 (17:13 +0000)]
Optional IP-Hiding for servers

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

18 years agoUse libgnutls-config --libs to configure linker options
om [Mon, 23 Jan 2006 15:21:46 +0000 (15:21 +0000)]
Use libgnutls-config --libs to configure linker options

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

18 years agoUse IS_LOCAL() macro
om [Mon, 23 Jan 2006 15:09:50 +0000 (15:09 +0000)]
Use IS_LOCAL() macro

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

18 years agoDon't try and kill off remote ssl users
om [Mon, 23 Jan 2006 15:07:08 +0000 (15:07 +0000)]
Don't try and kill off remote ssl users

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

18 years agoremoving the rest of a redundant and dangerour OnUserQuit
om [Mon, 23 Jan 2006 14:58:49 +0000 (14:58 +0000)]
removing the rest of a redundant and dangerour OnUserQuit

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

18 years ago...and stop it segfaulting when you do unload it, ty Brain
om [Mon, 23 Jan 2006 14:54:03 +0000 (14:54 +0000)]
...and stop it segfaulting when you do unload it, ty Brain

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

18 years agoAdding ability to unload module
om [Mon, 23 Jan 2006 14:50:07 +0000 (14:50 +0000)]
Adding ability to unload module

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

18 years agoReordered some stuff to allow a clever trick
brain [Mon, 23 Jan 2006 14:31:00 +0000 (14:31 +0000)]
Reordered some stuff to allow a clever trick

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

18 years agoFixed OnUserQuit... again.
brain [Mon, 23 Jan 2006 13:59:43 +0000 (13:59 +0000)]
Fixed OnUserQuit... again.

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

18 years agoMake relative paths in the config file tags be relative to the insp config directory
om [Mon, 23 Jan 2006 13:17:13 +0000 (13:17 +0000)]
Make relative paths in the config file tags be relative to the insp config directory

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

18 years agoDon't try and CloseSession remote users!
brain [Mon, 23 Jan 2006 08:42:00 +0000 (08:42 +0000)]
Don't try and CloseSession remote users!

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

18 years agoAnd the programming god looked down upon his deciples and said: VERILY, THOU SHALT...
brain [Mon, 23 Jan 2006 01:18:34 +0000 (01:18 +0000)]
And the programming god looked down upon his deciples and said: VERILY, THOU SHALT NOT COMMIT CODE WITH SYNTAX ERRORS IN IT! :P And Craig verily said.... yeah right.

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

18 years agoChange 974 numeric to 490 to avoid collision with Insp's failed to load module error
om [Mon, 23 Jan 2006 00:30:49 +0000 (00:30 +0000)]
Change 974 numeric to 490 to avoid collision with Insp's failed to load module error

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

18 years agoMake m_sslmodes messages appear in the channel window
om [Mon, 23 Jan 2006 00:22:38 +0000 (00:22 +0000)]
Make m_sslmodes messages appear in the channel window

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

18 years agoUpdated with new docs for maxtargets
brain [Mon, 23 Jan 2006 00:00:16 +0000 (00:00 +0000)]
Updated with new docs for maxtargets

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

18 years agoUpdated 005 to show changeable MAXTARGETS
brain [Sun, 22 Jan 2006 23:55:03 +0000 (23:55 +0000)]
Updated 005 to show changeable MAXTARGETS

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

18 years agoAllowed for configuration of maxtargets in <options:maxtargets>
brain [Sun, 22 Jan 2006 23:54:04 +0000 (23:54 +0000)]
Allowed for configuration of maxtargets in <options:maxtargets>

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

18 years agoWrong nicklen is shown in the 005 numeric, fixed (noticed by ThaPrince)
brain [Sun, 22 Jan 2006 23:46:59 +0000 (23:46 +0000)]
Wrong nicklen is shown in the 005 numeric, fixed (noticed by ThaPrince)

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

18 years agoInitial commit of m_sslmodes, supplying chanmode +z
om [Sun, 22 Jan 2006 23:33:40 +0000 (23:33 +0000)]
Initial commit of m_sslmodes, supplying chanmode +z

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

18 years agoAllow for <bind> tags with no or empty type, as well as 'clients' ones
om [Sun, 22 Jan 2006 22:44:53 +0000 (22:44 +0000)]
Allow for <bind> tags with no or empty type, as well as 'clients' ones

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

18 years agoSet vendor and static module flags...even though the booms from trying to unload...
om [Sun, 22 Jan 2006 22:03:46 +0000 (22:03 +0000)]
Set vendor and static module flags...even though the booms from trying to unload it would be fun :(

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

18 years agoMake errors loading certificates DEFAULT level
om [Sun, 22 Jan 2006 22:01:12 +0000 (22:01 +0000)]
Make errors loading certificates DEFAULT level

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

18 years agoInital commit of the first SSL module \o/ \o/ \o/ Also Ommeh's first official svn...
om [Sun, 22 Jan 2006 21:41:32 +0000 (21:41 +0000)]
Inital commit of the first SSL module \o/ \o/ \o/ Also Ommeh's first official svn commit \o/

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

18 years agoOr so i thought...
brain [Sun, 22 Jan 2006 21:06:55 +0000 (21:06 +0000)]
Or so i thought...

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

18 years agoFixed
brain [Sun, 22 Jan 2006 21:06:08 +0000 (21:06 +0000)]
Fixed

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

18 years agoWas using OnUserPre* when i wanted to use OnUser*, which meant that remote servers...
brain [Sun, 22 Jan 2006 21:05:17 +0000 (21:05 +0000)]
Was using OnUserPre* when i wanted to use OnUser*, which meant that remote servers werent picking up the changes

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

18 years agoPut some stuff back that was NEEDED.
brain [Sun, 22 Jan 2006 20:57:45 +0000 (20:57 +0000)]
Put some stuff back that was NEEDED.

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

18 years agoRemoved need for server kicks to be managed in here
brain [Sun, 22 Jan 2006 20:40:03 +0000 (20:40 +0000)]
Removed need for server kicks to be managed in here

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

18 years agoAdded MakeWildHost to userrec (*!*@dhost)
brain [Sun, 22 Jan 2006 20:32:19 +0000 (20:32 +0000)]
Added MakeWildHost to userrec (*!*@dhost)
Added ban stuff to messageflood

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

18 years agoFixes to server kick (i hope)
brain [Sun, 22 Jan 2006 20:22:15 +0000 (20:22 +0000)]
Fixes to server kick (i hope)

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

18 years agoForgot NOTICE and PRIVMSG implements()
brain [Sun, 22 Jan 2006 20:01:24 +0000 (20:01 +0000)]
Forgot NOTICE and PRIVMSG implements()

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

18 years agoAnd yae, the compiler sayeth to brain, fix thine warning. and thou warning art fixeth.
brain [Sun, 22 Jan 2006 19:54:27 +0000 (19:54 +0000)]
And yae, the compiler sayeth to brain, fix thine warning. and thou warning art fixeth.

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

18 years agoFixed simple typos
brain [Sun, 22 Jan 2006 19:53:04 +0000 (19:53 +0000)]
Fixed simple typos

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

18 years agoFixes to make server kicks work
brain [Sun, 22 Jan 2006 19:33:53 +0000 (19:33 +0000)]
Fixes to make server kicks work

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

18 years agoAdded facility for servers to send KICK message (ew, i hate this crap)
brain [Sun, 22 Jan 2006 19:23:20 +0000 (19:23 +0000)]
Added facility for servers to send KICK message (ew, i hate this crap)

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

18 years agoMade '*' ban-specifier work
brain [Sun, 22 Jan 2006 16:20:31 +0000 (16:20 +0000)]
Made '*' ban-specifier work

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

18 years agoFixed typos etc to make this compile now
brain [Sun, 22 Jan 2006 16:07:22 +0000 (16:07 +0000)]
Fixed typos etc to make this compile now

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

18 years agoFixed 005 to be f not L
brain [Sun, 22 Jan 2006 15:57:06 +0000 (15:57 +0000)]
Fixed 005 to be f not L

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

18 years agoAdded OnChannelDelete() method (called on KICK, PART or QUIT where a channel is delet...
brain [Sun, 22 Jan 2006 15:51:06 +0000 (15:51 +0000)]
Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel is deleted for cleanup of metadata)
Added m_messageflood.so (not yet finished, do not use yet)

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

18 years agoTweaks for openssl compatibility
brain [Sun, 22 Jan 2006 13:09:01 +0000 (13:09 +0000)]
Tweaks for openssl compatibility

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

18 years agoStopped lines longer than 512b from being killed, instead, warning sent and dropped.
frostycoolslug [Sun, 22 Jan 2006 11:24:08 +0000 (11:24 +0000)]
Stopped lines longer than 512b from being killed, instead, warning sent and dropped.

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

18 years agoFix to m_redirect to prevent circular link to self
brain [Sat, 21 Jan 2006 23:30:27 +0000 (23:30 +0000)]
Fix to m_redirect to prevent circular link to self

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

18 years agoAdded <allowchannel:name> to allow specific channels
brain [Thu, 19 Jan 2006 19:10:18 +0000 (19:10 +0000)]
Added <allowchannel:name> to allow specific channels

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

18 years agoTest-fix for crazy's bug (/who 0 * as oper while on no channels)
brain [Wed, 18 Jan 2006 23:53:12 +0000 (23:53 +0000)]
Test-fix for crazy's bug (/who 0 * as oper while on no channels)

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

18 years agoTony hart stars in a new show, to replace hart attack. YES, ITS CRAQ ATTACK! Now...
brain [Wed, 18 Jan 2006 23:03:07 +0000 (23:03 +0000)]
Tony hart stars in a new show, to replace hart attack. YES, ITS CRAQ ATTACK! Now starring the cmd_invite 401 numeric fuckup! :D

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

18 years agoUmode +R was broken (only worked for channels) -- fixed
brain [Wed, 18 Jan 2006 22:57:26 +0000 (22:57 +0000)]
Umode +R was broken (only worked for channels) -- fixed

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

18 years agoRemoved all strncpy() calls and replaced with strlcpy()
brain [Wed, 18 Jan 2006 21:58:53 +0000 (21:58 +0000)]
Removed all strncpy() calls and replaced with strlcpy()

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

18 years agostrncpy sucks ass! -- Old code was using strncpy which doesnt null terminate a string...
brain [Wed, 18 Jan 2006 20:03:24 +0000 (20:03 +0000)]
strncpy sucks ass! -- Old code was using strncpy which doesnt null terminate a string if the string fills a buffer (!!!) - our strlcpy implementation fixes this.

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

18 years agoAdded unlink() to tidy up /tmp after each dlopen()
brain [Tue, 17 Jan 2006 21:49:21 +0000 (21:49 +0000)]
Added unlink() to tidy up /tmp after each dlopen()

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

18 years agoAdded support for part messages in the module API (and therefore between servers...
brain [Tue, 17 Jan 2006 21:39:35 +0000 (21:39 +0000)]
Added support for part messages in the module API (and therefore between servers too)

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

18 years agoFixed bug with {} -> [] etc in NICK where nick == newnick apart from irc-case:
brain [Mon, 16 Jan 2006 15:49:57 +0000 (15:49 +0000)]
Fixed bug with {} -> [] etc in NICK where nick == newnick apart from irc-case:
[15:41] --- Brain is now known as [Brain]
[15:41] --- {Brain} is now known as {Brain}
Now correct:
[15:41] --- Brain is now known as [Brain]
[15:41] --- [Brain] is now known as {Brain}
Was just a strlcpy BEFORE the NICK output instead of AFTER.

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

18 years agoFixed so that ONLY ports of type "" or type "clients" are bound by the core, *everyth...
brain [Mon, 16 Jan 2006 15:03:21 +0000 (15:03 +0000)]
Fixed so that ONLY ports of type "" or type "clients" are bound by the core, *everything else* is passed over now, not just "servers" type.

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

18 years agoFixed deprecated checks here that potentially break it with spanningtree (throwbacks...
brain [Sun, 15 Jan 2006 23:08:56 +0000 (23:08 +0000)]
Fixed deprecated checks here that potentially break it with spanningtree (throwbacks to mesh linking)

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

18 years agoChanged lots of icky #define's to enums
brain [Sun, 15 Jan 2006 21:08:09 +0000 (21:08 +0000)]
Changed lots of icky #define's to enums

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

18 years agomissing linefeed
brain [Sun, 15 Jan 2006 20:47:14 +0000 (20:47 +0000)]
missing linefeed

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

18 years agoMade <disabled> non-manditory, added check for when singular tags arent defined at all
brain [Sun, 15 Jan 2006 20:45:09 +0000 (20:45 +0000)]
Made <disabled> non-manditory, added check for when singular tags arent defined at all

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

18 years agoCleanFilename movage
brain [Sun, 15 Jan 2006 20:35:11 +0000 (20:35 +0000)]
CleanFilename movage

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

18 years agoFixed SIGHUP rehash to actually send rehash event to modules
brain [Sun, 15 Jan 2006 20:30:43 +0000 (20:30 +0000)]
Fixed SIGHUP rehash to actually send rehash event to modules

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

18 years agoFixes to make this actually WORK.
brain [Sun, 15 Jan 2006 20:24:06 +0000 (20:24 +0000)]
Fixes to make this actually WORK.

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

18 years agoAdded checks to forbid declaring certain config tags twice (ones which should only...
brain [Sun, 15 Jan 2006 20:21:08 +0000 (20:21 +0000)]
Added checks to forbid declaring certain config tags twice (ones which should only exist once like <server> and <admin>)

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

18 years agoFix for warning in OpenLog call
brain [Sun, 15 Jan 2006 19:48:29 +0000 (19:48 +0000)]
Fix for warning in OpenLog call

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

18 years agoTest-compiled m_vhost, compiles fine
brain [Sun, 15 Jan 2006 19:46:28 +0000 (19:46 +0000)]
Test-compiled m_vhost, compiles fine

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

18 years agoAdded m_vhost, authenticated vhosts from the conf similar to unrealircd's way, reques...
brain [Sun, 15 Jan 2006 19:34:04 +0000 (19:34 +0000)]
Added m_vhost, authenticated vhosts from the conf similar to unrealircd's way, requested by PinkFreud

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

18 years agoChanged some .cpp to .so in the this->source field
brain [Sun, 15 Jan 2006 19:26:59 +0000 (19:26 +0000)]
Changed some .cpp to .so in the this->source field

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

18 years agoRemoved deprecated default= for bind tags
brain [Sun, 15 Jan 2006 18:18:09 +0000 (18:18 +0000)]
Removed deprecated default= for bind tags

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

18 years agoRemoved deprecated LocalOp type
brain [Sun, 15 Jan 2006 18:13:11 +0000 (18:13 +0000)]
Removed deprecated LocalOp type

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

18 years agoAdded support for <options customversion> to customize the second part of VERSION
brain [Sun, 15 Jan 2006 18:09:00 +0000 (18:09 +0000)]
Added support for <options customversion> to customize the second part of VERSION

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

18 years agoBug found by PinkFreud - If an oper deopers themselves by removing the +o mode, their...
brain [Sun, 15 Jan 2006 17:48:30 +0000 (17:48 +0000)]
Bug found by PinkFreud - If an oper deopers themselves by removing the +o mode, their userrec::oper field isnt cleared. Clear it forcibly before DeleteOper.

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

18 years agoUpdated copyrights in headers etc using perl inplace edit
brain [Sun, 15 Jan 2006 15:59:11 +0000 (15:59 +0000)]
Updated copyrights in headers etc using perl inplace edit

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

18 years agoMade inspircd close and reopen its log on rehash
brain [Sun, 15 Jan 2006 14:41:26 +0000 (14:41 +0000)]
Made inspircd close and reopen its log on rehash

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

18 years agoRemoved some redundant (and commented out) functions
brain [Sun, 15 Jan 2006 13:20:03 +0000 (13:20 +0000)]
Removed some redundant (and commented out) functions

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

18 years agoMade InspSocket::Read return an empty but non-NULL string when it receives EAGAIN...
brain [Sun, 15 Jan 2006 12:59:45 +0000 (12:59 +0000)]
Made InspSocket::Read return an empty but non-NULL string when it receives EAGAIN (this method didnt know how to cope with EAGAIN before, may be causing random splits?)

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

18 years agoSQL uses some crappy structs with pointer voodoo that prevent comparison with if() !
brain [Sat, 14 Jan 2006 19:21:03 +0000 (19:21 +0000)]
SQL uses some crappy structs with pointer voodoo that prevent comparison with if() !

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

18 years agoFix to parentheses and chown to brain
brain [Sat, 14 Jan 2006 19:17:52 +0000 (19:17 +0000)]
Fix to parentheses and chown to brain

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

18 years agoExtra m_sql field checking
root [Sat, 14 Jan 2006 17:32:50 +0000 (17:32 +0000)]
Extra m_sql field checking

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