]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoChange this a LOT.
brain [Tue, 5 Dec 2006 19:36:26 +0000 (19:36 +0000)]
Change this a LOT.
<oper blah.... hash="md5|sha256" pass="blah...">
It will now only check pass if you put the hash= in, people have been bugging for this for a while.
note the m_oper_hash module will try and detect both m_sha256 and m_md5 now, and will provide /mkpasswd that can do either.

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

17 years agoUpdate example conf
brain [Tue, 5 Dec 2006 19:08:38 +0000 (19:08 +0000)]
Update example conf

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

17 years agoHere it is, the whole lot merged into one.
brain [Tue, 5 Dec 2006 19:05:38 +0000 (19:05 +0000)]
Here it is, the whole lot merged into one.

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

17 years agoAdd m_sha256 to here
brain [Tue, 5 Dec 2006 18:48:52 +0000 (18:48 +0000)]
Add m_sha256 to here

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

17 years agoSeperate out sha256 into m_sha256.so. API is identical to MD5 except where the class...
brain [Tue, 5 Dec 2006 18:17:23 +0000 (18:17 +0000)]
Seperate out sha256 into m_sha256.so. API is identical to MD5 except where the class names are MD5 for MD5, these are SHA256... duh ;)
Now we're left with a dialemma - is m_opersha256.cpp now pointless? Does anyone use both sha256 and md5 together? Should we just rename this to m_oper_hash, and have them pick their encryption in the config? :P

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

17 years agoTweaks, fixes, and comments
brain [Mon, 4 Dec 2006 22:40:57 +0000 (22:40 +0000)]
Tweaks, fixes, and comments

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

17 years agoAdd m_md5.so to example conf.
brain [Mon, 4 Dec 2006 22:03:08 +0000 (22:03 +0000)]
Add m_md5.so to example conf.
HEY OM WE BROKE YOUR ALPHABETICAL ORDER AGAIN!
(this is pointless unless its placed before the
two modules that rely on it)

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

17 years agoWhoops one star missing left a chunk out of the docs
brain [Mon, 4 Dec 2006 21:49:02 +0000 (21:49 +0000)]
Whoops one star missing left a chunk out of the docs

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

17 years agoMore $ModDep stuff
brain [Mon, 4 Dec 2006 21:44:30 +0000 (21:44 +0000)]
More $ModDep stuff

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

17 years agoUpdate $ModDep lines so that these properly depend on their headers in the makefile
brain [Mon, 4 Dec 2006 21:41:26 +0000 (21:41 +0000)]
Update $ModDep lines so that these properly depend on their headers in the makefile

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

17 years agoTons of comments!
brain [Mon, 4 Dec 2006 21:35:59 +0000 (21:35 +0000)]
Tons of comments!

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

17 years agoMake m_cloaking use m_md5. Fix m_md5.
brain [Mon, 4 Dec 2006 21:09:57 +0000 (21:09 +0000)]
Make m_cloaking use m_md5. Fix m_md5.
TODO: Document m_md5.

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

17 years agom_md5 works now. No docs yet, CODER BEWARE!
brain [Mon, 4 Dec 2006 20:48:26 +0000 (20:48 +0000)]
m_md5 works now. No docs yet, CODER BEWARE!
(on the flip side, see m_opermd5 for how to use it in the BASIC sense... it can do much more than this like take different IV's or change the binary-to-hex table (m_cloaking uses this stuff))

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

17 years agoHeader for md5 request classes
brain [Mon, 4 Dec 2006 20:41:02 +0000 (20:41 +0000)]
Header for md5 request classes

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

17 years agoMD5 service provider module (not tested yet)
brain [Mon, 4 Dec 2006 20:17:34 +0000 (20:17 +0000)]
MD5 service provider module (not tested yet)

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

17 years agoAdd nicer ipv6 cloaking
brain [Mon, 4 Dec 2006 19:52:26 +0000 (19:52 +0000)]
Add nicer ipv6 cloaking

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

17 years agoFix it good :p
brain [Mon, 4 Dec 2006 19:34:41 +0000 (19:34 +0000)]
Fix it good :p

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

17 years agoMove ipv4 cloaking to cloak4
brain [Mon, 4 Dec 2006 19:25:33 +0000 (19:25 +0000)]
Move ipv4 cloaking to cloak4

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

17 years agoFix the new ipv4 cloaks to not change wildly if one octet changes
brain [Mon, 4 Dec 2006 19:21:31 +0000 (19:21 +0000)]
Fix the new ipv4 cloaks to not change wildly if one octet changes

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

17 years agoForgot to include 'version' in the syntax
brain [Mon, 4 Dec 2006 17:50:22 +0000 (17:50 +0000)]
Forgot to include 'version' in the syntax

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

17 years agoTweak this module to always allow remove from remote, no matter what the permissions
brain [Mon, 4 Dec 2006 17:18:45 +0000 (17:18 +0000)]
Tweak this module to always allow remove from remote, no matter what the permissions

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

17 years agoFix for bug #177, generate the version string at configure time and write it into...
brain [Mon, 4 Dec 2006 17:03:10 +0000 (17:03 +0000)]
Fix for bug #177, generate the version string at configure time and write it into the .inspircd.inc,
then when running the ./inspircd, output the string, this way we dont need the source code to hand to
report the version. (btw special, the doctor has cured you of perlprogramophobia)

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

17 years agoReverted the addition of ./inspircd version; I should've considered this a bit more...
special [Mon, 4 Dec 2006 10:37:55 +0000 (10:37 +0000)]
Reverted the addition of ./inspircd version; I should've considered this a bit more, its flawed in several ways

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

17 years agoAdded ./inspircd version, requested and written by Mitch
special [Mon, 4 Dec 2006 04:12:32 +0000 (04:12 +0000)]
Added ./inspircd version, requested and written by Mitch

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

17 years agoAccount for channels with no modes set
brain [Sun, 3 Dec 2006 23:53:21 +0000 (23:53 +0000)]
Account for channels with no modes set

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

17 years agoRemove an assignment from definition (damn java thinking)
peavey [Sun, 3 Dec 2006 22:10:05 +0000 (22:10 +0000)]
Remove an assignment from definition (damn java thinking)

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

17 years agoMake the 'override' parameter actually *do* something, wee
w00t [Sun, 3 Dec 2006 11:51:00 +0000 (11:51 +0000)]
Make the 'override' parameter actually *do* something, wee

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

17 years agoMake this look less insane :P
w00t [Sun, 3 Dec 2006 10:56:23 +0000 (10:56 +0000)]
Make this look less insane :P

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

17 years agoLOL INFINITE LOOPS IN IRCD ARE ROX
w00t [Sun, 3 Dec 2006 01:54:45 +0000 (01:54 +0000)]
LOL INFINITE LOOPS IN IRCD ARE ROX

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

17 years agoCheckDie was always still here, we were just forgetting to set the die value's string
brain [Sun, 3 Dec 2006 01:25:23 +0000 (01:25 +0000)]
CheckDie was always still here, we were just forgetting to set the die value's string

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

17 years agoFix <die:value>, its been broken for quite some time. (whoops *hide*)
brain [Sun, 3 Dec 2006 01:20:41 +0000 (01:20 +0000)]
Fix <die:value>, its been broken for quite some time. (whoops *hide*)

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

17 years agoRemote SQUIT, and god save the coder..
w00t [Sun, 3 Dec 2006 00:00:17 +0000 (00:00 +0000)]
Remote SQUIT, and god save the coder..

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

17 years agoThat patch (TM) of controversy, plus a minor cleanup
w00t [Sat, 2 Dec 2006 13:15:28 +0000 (13:15 +0000)]
That patch (TM) of controversy, plus a minor cleanup

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

17 years agoI don't know if anything actually uses this, but irc::hex is now *much* more efficient
special [Sat, 2 Dec 2006 03:53:53 +0000 (03:53 +0000)]
I don't know if anything actually uses this, but irc::hex is now *much* more efficient

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

17 years agoFix typo that stops m_cban from working
brain [Thu, 30 Nov 2006 00:05:48 +0000 (00:05 +0000)]
Fix typo that stops m_cban from working

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

17 years agoAdded InspIRCd::GetTimeDelta() - previously m_alltime was using a hack to get the...
special [Wed, 29 Nov 2006 22:41:41 +0000 (22:41 +0000)]
Added InspIRCd::GetTimeDelta() - previously m_alltime was using a hack to get the delta, which wasn't always reliable

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

17 years agoSame again
brain [Wed, 29 Nov 2006 22:02:05 +0000 (22:02 +0000)]
Same again

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

17 years agoAdd fix suggested by mitch to show when nicks dont exist
brain [Wed, 29 Nov 2006 22:01:04 +0000 (22:01 +0000)]
Add fix suggested by mitch to show when nicks dont exist

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

17 years agoAdded a missing error message to SAJOIN - thanks Mitch
special [Wed, 29 Nov 2006 06:44:21 +0000 (06:44 +0000)]
Added a missing error message to SAJOIN - thanks Mitch

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

17 years agoFixed a crash when spanningtree is given a blank line; really simple fix, and I had...
special [Tue, 28 Nov 2006 01:46:11 +0000 (01:46 +0000)]
Fixed a crash when spanningtree is given a blank line; really simple fix, and I had to wait 10 minutes to test it :<

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

17 years agoO(n^n) is bad. O(log n) is better.
brain [Mon, 27 Nov 2006 18:17:18 +0000 (18:17 +0000)]
O(n^n) is bad. O(log n) is better.

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

17 years agoTidyup
brain [Mon, 27 Nov 2006 17:55:05 +0000 (17:55 +0000)]
Tidyup

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

17 years agoThere, the guts of it are done, spanningtree now uses the exempt lists to cleverly...
brain [Mon, 27 Nov 2006 17:52:41 +0000 (17:52 +0000)]
There, the guts of it are done, spanningtree now uses the exempt lists to cleverly route its messages and save bandwidth

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

17 years agoBuildExemptList is becoming pretty ugly. grr.
brain [Mon, 27 Nov 2006 17:45:16 +0000 (17:45 +0000)]
BuildExemptList is becoming pretty ugly. grr.

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

17 years agoAdd OnBuildExemptList, which is used to build an exempt list when passing a privmsg...
brain [Mon, 27 Nov 2006 17:19:28 +0000 (17:19 +0000)]
Add OnBuildExemptList, which is used to build an exempt list when passing a privmsg on, but not directly processing it (m_spanningtree etc)

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

17 years agoAdd exception lists to OnUserMessage and OnUserNotice, to be used for smarter routing...
brain [Mon, 27 Nov 2006 17:03:47 +0000 (17:03 +0000)]
Add exception lists to OnUserMessage and OnUserNotice, to be used for smarter routing of messages in spanningtree amongst other things

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

17 years agoC DOS, C DOS RUN, RUN DOS RUN ^M^M^M
peavey [Sun, 26 Nov 2006 23:34:32 +0000 (23:34 +0000)]
C DOS, C DOS RUN, RUN DOS RUN ^M^M^M

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

17 years agoadd m_deaf.so to example.conf
peavey [Sun, 26 Nov 2006 23:30:40 +0000 (23:30 +0000)]
add m_deaf.so to example.conf

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

17 years agoProvides support for ircu style usermode +d (deaf to channel messages and channel...
peavey [Sun, 26 Nov 2006 23:22:55 +0000 (23:22 +0000)]
Provides support for ircu style usermode +d (deaf to channel messages and channel notices)

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

17 years agoFix really minor typo
brain [Sun, 26 Nov 2006 20:18:09 +0000 (20:18 +0000)]
Fix really minor typo

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

17 years agoUpdate the comment for flag 't'
brain [Sun, 26 Nov 2006 19:10:35 +0000 (19:10 +0000)]
Update the comment for flag 't'

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

17 years agoTidyup, avoid ternary if() on every iteration of a loop (bad brain bad)
brain [Sun, 26 Nov 2006 19:03:16 +0000 (19:03 +0000)]
Tidyup, avoid ternary if() on every iteration of a loop (bad brain bad)

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

17 years agoSILENCE_CNOTICE, flag 't'. Needs testing, peavey should probably review to check...
brain [Sun, 26 Nov 2006 19:00:43 +0000 (19:00 +0000)]
SILENCE_CNOTICE, flag 't'. Needs testing, peavey should probably review to check it fits in with what he was doing :p

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

17 years agoFix to work with channel notices.
brain [Sun, 26 Nov 2006 18:55:29 +0000 (18:55 +0000)]
Fix to work with channel notices.
SILENCE_PRIVATE silences private PRIVMSG, SILENCE_NOTICE silences private NOTICE, and SILENCE_CHANNEL silences channel PRIVMSG *and* channel NOTICE.
This makes sense to me... :)

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

17 years agonow using OnUserPreMessage exempt_list instead of OnPreCommand dup code for blocking...
peavey [Sun, 26 Nov 2006 18:44:37 +0000 (18:44 +0000)]
now using OnUserPreMessage exempt_list instead of OnPreCommand dup code for blocking of channel messages.

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

17 years agoUpdate comments to reflect new API
brain [Sun, 26 Nov 2006 18:12:50 +0000 (18:12 +0000)]
Update comments to reflect new API

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

17 years agoAdd extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_list...
brain [Sun, 26 Nov 2006 18:04:47 +0000 (18:04 +0000)]
Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_list, a list of users NOT to write to. By default it just contains the sender, you can add more.
This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :)

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

17 years ago005 tokens: "ESILENCE SILENCE=999"
brain [Sun, 26 Nov 2006 17:14:28 +0000 (17:14 +0000)]
005 tokens: "ESILENCE SILENCE=999"

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

17 years agoAdd m_silence_ext.so to the example conf
brain [Sun, 26 Nov 2006 14:49:55 +0000 (14:49 +0000)]
Add m_silence_ext.so to the example conf

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

17 years agoAdd a description to an exception in the constructor, also reformat all the if()...
brain [Sun, 26 Nov 2006 14:42:37 +0000 (14:42 +0000)]
Add a description to an exception in the constructor, also reformat all the if() without a space that om did :p

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

17 years agoTidy up space indents
brain [Sun, 26 Nov 2006 14:02:23 +0000 (14:02 +0000)]
Tidy up space indents

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

17 years agofix a few confusing returns
peavey [Sun, 26 Nov 2006 05:57:49 +0000 (05:57 +0000)]
fix a few confusing returns

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

17 years agoImproved drop-in replacement for cmd /SILENCE. This first draft features server side...
peavey [Sun, 26 Nov 2006 05:49:49 +0000 (05:49 +0000)]
Improved drop-in replacement for cmd /SILENCE. This first draft features server side blocking of private messages, channel messages, notices, invites based on the silence hostmask. Also you can make excludes to your SILENCE rules. See source for examples. Flames, comments, edits are welcomed.

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

17 years agoMake numeric 443 ERR_USERONCHANNEL conform to the RFC
peavey [Sun, 26 Nov 2006 04:43:06 +0000 (04:43 +0000)]
Make numeric 443 ERR_USERONCHANNEL conform to the RFC

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

17 years agoMake silence list removals and additions a ton faster by making the silence list...
brain [Sun, 26 Nov 2006 02:33:42 +0000 (02:33 +0000)]
Make silence list removals and additions a ton faster by making the silence list a map. Note that this probably wont port to peavey's improved silence, i wouldnt bother trying :p

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

17 years agoImprove openssl detection
brain [Sat, 25 Nov 2006 14:18:59 +0000 (14:18 +0000)]
Improve openssl detection

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

17 years agowhoops, !defined not undef!
brain [Fri, 24 Nov 2006 19:29:47 +0000 (19:29 +0000)]
whoops, !defined not undef!

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

17 years agoMake this smarter when we dont have pkg-config
brain [Fri, 24 Nov 2006 19:26:12 +0000 (19:26 +0000)]
Make this smarter when we dont have pkg-config

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

17 years agoMore fixes
brain [Fri, 24 Nov 2006 19:08:52 +0000 (19:08 +0000)]
More fixes

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

17 years agoFixes
brain [Fri, 24 Nov 2006 19:07:00 +0000 (19:07 +0000)]
Fixes

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

17 years agoSmarter openssl detection
brain [Fri, 24 Nov 2006 19:06:02 +0000 (19:06 +0000)]
Smarter openssl detection

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

17 years agoIn answer to w00ts question, the channel might not exist, because of the following...
brain [Fri, 24 Nov 2006 16:32:16 +0000 (16:32 +0000)]
In answer to w00ts question, the channel might not exist, because of the following situation
user A exists on both servers.
When servers link, user A is collided, but one or both servers still get the FJOIN:  FJOIN #chan 1234 :@,A
of course, A is gone, the only join to the channel fails, so the channel actually doesnt exist at the end of the loop, so chan == NULL :)

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

17 years agoFix #176, not sure how channel can't exist after being created, but apparantly it...
w00t [Thu, 23 Nov 2006 22:10:50 +0000 (22:10 +0000)]
Fix #176, not sure how channel can't exist after being created, but apparantly it can happen

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

17 years agoFix my fix, it crashed (thanks skenmy, sorry)
w00t [Wed, 22 Nov 2006 19:29:52 +0000 (19:29 +0000)]
Fix my fix, it crashed (thanks skenmy, sorry)

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

17 years agoDisallow mode prefix # since it will mess up /whois and /privmsg
peavey [Wed, 22 Nov 2006 17:44:34 +0000 (17:44 +0000)]
Disallow mode prefix # since it will mess up /whois and /privmsg

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

17 years agoRemoved <options:tempdir> - this hasn't been used since modules were updated to not...
special [Wed, 22 Nov 2006 04:29:51 +0000 (04:29 +0000)]
Removed <options:tempdir> - this hasn't been used since modules were updated to not copy before load (quite awhile ago)

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

17 years agoFix spurious deops on channel creation, pointed out by jilles, noted by a number...
w00t [Tue, 21 Nov 2006 23:32:01 +0000 (23:32 +0000)]
Fix spurious deops on channel creation, pointed out by jilles, noted by a number of people. :P

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

17 years agofix for bug #175, change OnUserRegister to return int, and if greater than 0 = user...
peavey [Tue, 21 Nov 2006 23:22:04 +0000 (23:22 +0000)]
fix for bug #175, change OnUserRegister to return int, and if greater than 0 = user was quit and stop propagating to rest of loaded modules. Also bumb the module API version.

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

17 years agoAdded *.pid to the svn:ignore for conf/ - I hate all of these files always showing...
special [Tue, 21 Nov 2006 22:10:40 +0000 (22:10 +0000)]
Added *.pid to the svn:ignore for conf/ - I hate all of these files always showing up in my svn status

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

17 years agoFixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this fixes an...
special [Tue, 21 Nov 2006 22:05:53 +0000 (22:05 +0000)]
Fixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this fixes an issue with systems that want to use libgcrypt or libgpg-error in nonstandard locations

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

17 years agoRemove space
brain [Sun, 19 Nov 2006 16:41:41 +0000 (16:41 +0000)]
Remove space

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

17 years agoOoops, remove my debug line
om [Sun, 19 Nov 2006 16:20:25 +0000 (16:20 +0000)]
Ooops, remove my debug line

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

17 years agoAlso return for 7.x series > 7.3.15, this still wants testing :p (which versions...
om [Sun, 19 Nov 2006 16:19:46 +0000 (16:19 +0000)]
Also return for 7.x series > 7.3.15, this still wants testing :p (which versions actually have the functions, I'm pretty happy with the script working properly)

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

17 years agoHopefully uncraq this script enough to actually work, should return for versions...
om [Sun, 19 Nov 2006 16:13:28 +0000 (16:13 +0000)]
Hopefully uncraq this script enough to actually work, should return for versions > 8.1.4

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

17 years agoMerge pgsql stuff from darix, but im sure theres something to be looked at in the...
brain [Sun, 19 Nov 2006 15:58:39 +0000 (15:58 +0000)]
Merge pgsql stuff from darix, but im sure theres something to be looked at in the helper script

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

17 years agoMake opermotd and randquote paths relative
brain [Sun, 19 Nov 2006 02:42:38 +0000 (02:42 +0000)]
Make opermotd and randquote paths relative

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

17 years agoApply CXXFLAGS patch from darix
brain [Sun, 19 Nov 2006 01:35:11 +0000 (01:35 +0000)]
Apply CXXFLAGS patch from darix

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

17 years agoRemove unused /usr/local/lib from helperfuncs.cpp include dirs etc, its not been...
brain [Sun, 19 Nov 2006 01:12:26 +0000 (01:12 +0000)]
Remove unused /usr/local/lib from helperfuncs.cpp include dirs etc, its not been needed for several versions

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

17 years agoUse pkg-config to detect lib paths - thanks darix we've been looking for this for...
brain [Sun, 19 Nov 2006 01:10:01 +0000 (01:10 +0000)]
Use pkg-config to detect lib paths - thanks darix we've been looking for this for ages :)

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

17 years agoAdd -fno-strict-aliasing to shut up gcc when building with -O2. We know what we're...
brain [Sun, 19 Nov 2006 00:52:26 +0000 (00:52 +0000)]
Add -fno-strict-aliasing to shut up gcc when building with -O2. We know what we're doing with the 'punned pointer' is perfectly valid and works fine (and we've been doing it since 1.0 alphas)

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

17 years agoFix all the _FORTIFY_SOURCE warnings except "punned pointer".
brain [Sun, 19 Nov 2006 00:43:35 +0000 (00:43 +0000)]
Fix all the _FORTIFY_SOURCE warnings except "punned pointer".
We CANNOT fix this, as it is the recommended (and only) way to dlsym a symbol from a .so file.

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

17 years agoAdd CXXFLAGS appending thing from darix
brain [Sat, 18 Nov 2006 23:05:32 +0000 (23:05 +0000)]
Add CXXFLAGS appending thing from darix

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

17 years agoApply instmode stuff from darix
brain [Sat, 18 Nov 2006 23:02:33 +0000 (23:02 +0000)]
Apply instmode stuff from darix

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

17 years agoThe tags must be prefixed with helpop_ in 1.1 beta 5 and above
brain [Sat, 18 Nov 2006 22:10:31 +0000 (22:10 +0000)]
The tags must be prefixed with helpop_ in 1.1 beta 5 and above

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

17 years agoSince the last beta, the pid file doesnt have to be specified. If it hasnt been speci...
brain [Sat, 18 Nov 2006 20:06:25 +0000 (20:06 +0000)]
Since the last beta, the pid file doesnt have to be specified. If it hasnt been specified, default to <conf>/inspircd.pid

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

17 years agoChange from dos to unix line endings (how did these get in here?)
brain [Sat, 18 Nov 2006 17:31:01 +0000 (17:31 +0000)]
Change from dos to unix line endings (how did these get in here?)

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

17 years agobits_size must be protected, not private
brain [Sat, 18 Nov 2006 01:14:05 +0000 (01:14 +0000)]
bits_size must be protected, not private

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

17 years agoAdd \code and \endcode tags for doxygen
brain [Sat, 18 Nov 2006 01:05:36 +0000 (01:05 +0000)]
Add \code and \endcode tags for doxygen

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

17 years agoFix a major whoopsie in that class i just added. It must be derived using virtual...
brain [Sat, 18 Nov 2006 01:03:47 +0000 (01:03 +0000)]
Fix a major whoopsie in that class i just added. It must be derived using virtual methods, because each TYPE of bitmask must have its own static allocation of flags. See the (long winded) comments.

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

17 years agoReduce size of max number of bytes in a bitfield from a 4 or 8 byte field to a 1...
brain [Sat, 18 Nov 2006 00:32:35 +0000 (00:32 +0000)]
Reduce size of max number of bytes in a bitfield from a 4 or 8 byte field to a 1 byte field (unsigned char).
This still allows storage of 8*255 bits, which is MORE than enough (for the interested, its 2040 bits)

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