]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoThis properly fixes options:hidebans and options:hidesplits by providing the facility...
brain [Tue, 6 Mar 2007 13:49:34 +0000 (13:49 +0000)]
This properly fixes options:hidebans and options:hidesplits by providing the facility to have two different quit messages for a user, one an oper sees and one a normal user sees.
There are default values on the oper_quit parameters through the entire source so that if oper_quit parameter is not given it defaults to the same as the user_quit

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

17 years agoKlosterkrone? wtf kind of cheese is that. It best taste nice.
brain [Mon, 5 Mar 2007 22:48:48 +0000 (22:48 +0000)]
Klosterkrone? wtf kind of cheese is that. It best taste nice.

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

17 years agoState that the channel is full, to avoid confusion
brain [Mon, 5 Mar 2007 21:47:27 +0000 (21:47 +0000)]
State that the channel is full, to avoid confusion

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

17 years agoReturn 1 not 0, we dont want two numerics. (thanks peavey)
brain [Mon, 5 Mar 2007 21:43:58 +0000 (21:43 +0000)]
Return 1 not 0, we dont want two numerics. (thanks peavey)

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

17 years agoChange oper notice into a numeric to the user:
brain [Mon, 5 Mar 2007 21:27:21 +0000 (21:27 +0000)]
Change oper notice into a numeric to the user:
%s :%s has a circular redirect (+L). Not following redirection to %s.

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

17 years agoChange openssl autoprompting to use pkg-config, so if you dont *have* pkg-config...
brain [Sun, 4 Mar 2007 19:06:09 +0000 (19:06 +0000)]
Change openssl autoprompting to use pkg-config, so if you dont *have* pkg-config it wont prompt you to symlink openssl at all

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

17 years agoAdd xchat :IDENTIFY workaround to example conf
brain [Sun, 4 Mar 2007 17:17:47 +0000 (17:17 +0000)]
Add xchat :IDENTIFY workaround to example conf

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

17 years agoAllow for the cgiirc module to change the users host if it doesnt resolve
brain [Sat, 3 Mar 2007 22:08:00 +0000 (22:08 +0000)]
Allow for the cgiirc module to change the users host if it doesnt resolve

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

17 years agoAdd cgi:irc to the example conf, it was omitted for some reason
brain [Sat, 3 Mar 2007 17:22:44 +0000 (17:22 +0000)]
Add cgi:irc to the example conf, it was omitted for some reason

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

17 years agoFix double-dereference in CheckIdent and CheckPass which causes the values of the...
brain [Sat, 3 Mar 2007 16:53:07 +0000 (16:53 +0000)]
Fix double-dereference in CheckIdent and CheckPass which causes the values of the userrec to be overwritten with an ascii ip address. (oops!) Fixes primary cause for bug #215, NEEDS QA TESTING

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

17 years agoMinor tweak, return of OnUserRegister discarded in cmd_user (should not have effected...
brain [Sat, 3 Mar 2007 16:25:19 +0000 (16:25 +0000)]
Minor tweak, return of OnUserRegister discarded in cmd_user (should not have effected anything, but bad style)

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

17 years agoFix m_services_account logout by allowing meta with empty data field. Tracker: bug...
peavey [Sat, 3 Mar 2007 04:00:30 +0000 (04:00 +0000)]
Fix m_services_account logout by allowing meta with empty data field. Tracker: bug #226

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

17 years agoRebuild 005 on rehash. Tracker: bug #234
peavey [Sat, 3 Mar 2007 00:24:04 +0000 (00:24 +0000)]
Rebuild 005 on rehash. Tracker: bug #234

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

17 years agoDo not perform redirect on chained channel links, tell user channel is full and SNOTI...
peavey [Fri, 2 Mar 2007 21:39:39 +0000 (21:39 +0000)]
Do not perform redirect on chained channel links, tell user channel is full and SNOTICE the offending channel(s).

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

17 years agoFix for small display issue, when both ssl modules are loaded, both output a 'is...
brain [Tue, 27 Feb 2007 17:00:49 +0000 (17:00 +0000)]
Fix for small display issue, when both ssl modules are loaded, both output a 'is ssl' numeric for ssl users in whois.
This fix ensures that only an ssl module thats listening on client ports will output the whois. Theres no need to bind openssl and gnutls both to client ports, however
some people use openssl for server ports and gnutls for client ports, or vice versa.

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

17 years agoAdd svshold to example conf.
peavey [Sun, 25 Feb 2007 23:12:05 +0000 (23:12 +0000)]
Add svshold to example conf.

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

17 years agoImprove wording on ircumsgprefix.
peavey [Sun, 25 Feb 2007 21:33:59 +0000 (21:33 +0000)]
Improve wording on ircumsgprefix.

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

17 years agoFixes and optimizations
brain [Sun, 25 Feb 2007 01:09:12 +0000 (01:09 +0000)]
Fixes and optimizations

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

17 years agoEnsure that simplemodes are sent first (jilles requested this)
brain [Sun, 25 Feb 2007 00:27:03 +0000 (00:27 +0000)]
Ensure that simplemodes are sent first (jilles requested this)

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

17 years agoBans are bursted using a large string buffer to save on write() calls, so the way...
brain [Sun, 25 Feb 2007 00:18:32 +0000 (00:18 +0000)]
Bans are bursted using a large string buffer to save on write() calls, so the way we handle clamping the ban sending to 350 chars is slightly different than the changes just made to modestacker. works
he same though.

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

17 years agoAdd max line length value to modestacker, so that it can clamp the max length of...
brain [Sun, 25 Feb 2007 00:11:46 +0000 (00:11 +0000)]
Add max line length value to modestacker, so that it can clamp the max length of a composed line to a given size. Defaults to 350 which should be safe with fmode and mode with a server name

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

17 years agoAdded sepstream::GetRemaining()
special [Thu, 22 Feb 2007 11:50:19 +0000 (11:50 +0000)]
Added sepstream::GetRemaining()

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

17 years agoNew and improved /INFO (now with meaty chunks)
brain [Tue, 20 Feb 2007 22:08:13 +0000 (22:08 +0000)]
New and improved /INFO (now with meaty chunks)

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

17 years agofix typo.
peavey [Tue, 20 Feb 2007 20:55:35 +0000 (20:55 +0000)]
fix typo.

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

17 years agoNo need to .c_str() the quitmsg, it takes const std::string&
brain [Tue, 20 Feb 2007 06:18:19 +0000 (06:18 +0000)]
No need to .c_str() the quitmsg, it takes const std::string&

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

17 years agoMake these vendor modules.
peavey [Tue, 20 Feb 2007 01:29:39 +0000 (01:29 +0000)]
Make these vendor modules.

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

17 years agoPut back quit prefix that got lost in last fix.
peavey [Tue, 20 Feb 2007 01:03:00 +0000 (01:03 +0000)]
Put back quit prefix that got lost in last fix.

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

17 years agoAddition of feature request outlined in bug #195, suggested by Bricker
brain [Mon, 19 Feb 2007 19:57:41 +0000 (19:57 +0000)]
Addition of feature request outlined in bug #195, suggested by Bricker

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

17 years agoToo many small tweaks to list. Most notably tidy up info, note that /trace is crap...
brain [Mon, 19 Feb 2007 10:56:51 +0000 (10:56 +0000)]
Too many small tweaks to list. Most notably tidy up info, note that /trace is crap, and improve efficiency of cmd_nick

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

17 years agoWhen a users nick is overruled, remove their nickname-sent bit from userrec::register...
brain [Mon, 19 Feb 2007 09:23:59 +0000 (09:23 +0000)]
When a users nick is overruled, remove their nickname-sent bit from userrec::registered so they must send a nick again.

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

17 years agofix obligotary typos
brain [Mon, 19 Feb 2007 09:21:14 +0000 (09:21 +0000)]
fix obligotary typos

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

17 years agoBetter handling of nickname overruling
brain [Mon, 19 Feb 2007 09:20:25 +0000 (09:20 +0000)]
Better handling of nickname overruling

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

17 years agoWhoops, typo
brain [Mon, 19 Feb 2007 08:41:50 +0000 (08:41 +0000)]
Whoops, typo

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

17 years ago1) Fix for nickname overruled with new cullList stuff -- we have to change their...
brain [Mon, 19 Feb 2007 08:38:26 +0000 (08:38 +0000)]
1) Fix for nickname overruled with new cullList stuff -- we have to change their nick, its not safe to quit them as it messes up the nick hash.
2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be
used as a general mute flag e.g. by shun modules.
3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code.
*** THIS NEEDS TESTING BY QA ***

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

17 years agoFix for crashbugs when quitting users as experienced by satmd, SiliconAI and others.
brain [Mon, 19 Feb 2007 08:15:54 +0000 (08:15 +0000)]
Fix for crashbugs when quitting users as experienced by satmd, SiliconAI and others.
QA: Please test combinations of /quit, /kill, and friends.

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

17 years agoFew more cleanups (no need to update, shouldn't have changed any behaviour..)
om [Sun, 18 Feb 2007 17:31:51 +0000 (17:31 +0000)]
Few more cleanups (no need to update, shouldn't have changed any behaviour..)

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

17 years agoStop this using some global ServerInstance (where's that even defined? :|) and do...
om [Sun, 18 Feb 2007 17:08:42 +0000 (17:08 +0000)]
Stop this using some global ServerInstance (where's that even defined? :|) and do some slight cleanups

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

17 years agoAccount for bearbots whos CTCP TIME misses the ending \1 from the CTCP
brain [Sun, 18 Feb 2007 13:29:26 +0000 (13:29 +0000)]
Account for bearbots whos CTCP TIME misses the ending \1 from the CTCP

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

17 years agoEliminate some string copies, tidy some code, and reverse some short-circuit checks
brain [Sun, 18 Feb 2007 00:50:09 +0000 (00:50 +0000)]
Eliminate some string copies, tidy some code, and reverse some short-circuit checks
(Expensive(x) && Cheap(y)) -> (Cheap(y) && Expensive(x))

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

17 years agoChange bytes-used counter for commands (used by /stats m) as in excessive use (see...
brain [Sat, 17 Feb 2007 22:31:33 +0000 (22:31 +0000)]
Change bytes-used counter for commands (used by /stats m) as in excessive use (see BARAFRANCA!) they can wrap around past 2 million commands.
(YES REALLY. THEY ISSUED > 2 MILLION PRIVMSGS)

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

17 years agoBump API version
brain [Sat, 17 Feb 2007 20:13:31 +0000 (20:13 +0000)]
Bump API version

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

17 years agoChange /msg $* to have the correct source the same way /notice $* does
brain [Sat, 17 Feb 2007 20:10:54 +0000 (20:10 +0000)]
Change /msg $* to have the correct source the same way /notice $* does

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

17 years agoRemove redundant debug
brain [Sat, 17 Feb 2007 17:04:36 +0000 (17:04 +0000)]
Remove redundant debug

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

17 years agoDrop the invalid command generated by the bearbot CTCP TIME check
brain [Sat, 17 Feb 2007 16:49:51 +0000 (16:49 +0000)]
Drop the invalid command generated by the bearbot CTCP TIME check

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

17 years agoCheck CTCP TIME on bearbots
brain [Sat, 17 Feb 2007 16:14:42 +0000 (16:14 +0000)]
Check CTCP TIME on bearbots

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

17 years agoGet rid of a compile warning. We should remember to use time_t for time variables...
peavey [Sat, 17 Feb 2007 15:37:43 +0000 (15:37 +0000)]
Get rid of a compile warning. We should remember to use time_t for time variables and not unsigned int.

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

17 years agoYes, we know how to spell voluntary (and involuntary!) :<
om [Sat, 17 Feb 2007 15:14:37 +0000 (15:14 +0000)]
Yes, we know how to spell voluntary (and involuntary!) :<

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

17 years agoForce ipv4 lookups here - cgiirc doesnt support ipv6 anyway.
brain [Wed, 14 Feb 2007 21:22:46 +0000 (21:22 +0000)]
Force ipv4 lookups here - cgiirc doesnt support ipv6 anyway.

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

17 years agoFixed <link:bind> which was only working on an ipv6 connection. Fixes bug #213 report...
brain [Mon, 12 Feb 2007 21:43:56 +0000 (21:43 +0000)]
Fixed <link:bind> which was only working on an ipv6 connection. Fixes bug #213 reported by owine

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

17 years agoChange around the order of InspIRCd::Cleanup(), as per bug #212
brain [Mon, 12 Feb 2007 20:44:21 +0000 (20:44 +0000)]
Change around the order of InspIRCd::Cleanup(), as per bug #212

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

17 years agoI'm not sure OnPostOper is called for remote opering anyway, but to be sure, dont...
brain [Mon, 12 Feb 2007 19:26:31 +0000 (19:26 +0000)]
I'm not sure OnPostOper is called for remote opering anyway, but to be sure, dont execute it for remote users in this module (just wastes cpu time)

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

17 years agoOnly apply force join to local clients
brain [Mon, 12 Feb 2007 19:25:05 +0000 (19:25 +0000)]
Only apply force join to local clients

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

17 years agoFix odd warnings from propolice.
brain [Mon, 12 Feb 2007 18:22:04 +0000 (18:22 +0000)]
Fix odd warnings from propolice.
Obviously this isnt valid for it:   char b[MAXBUF];   getcwd(b, MAXBUF)..... it demands that b be 1024 in length. odd.

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

17 years agoGet rid of a compile warning.
peavey [Mon, 12 Feb 2007 00:17:57 +0000 (00:17 +0000)]
Get rid of a compile warning.

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

17 years agoAdd m_conn_join, allows force join of a user to one or more channels on connect ...
brain [Sun, 11 Feb 2007 21:47:13 +0000 (21:47 +0000)]
Add m_conn_join, allows force join of a user to one or more channels on connect (ick).
Tidy up m_operjoin a little.

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

17 years agoSpecial *slap* seems to have set this to true :/
brain [Sun, 11 Feb 2007 20:35:10 +0000 (20:35 +0000)]
Special *slap* seems to have set this to true :/

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

17 years agoBump API version (chanrec::setby increased from NICKMAX to 128)
brain [Sun, 11 Feb 2007 18:53:42 +0000 (18:53 +0000)]
Bump API version (chanrec::setby increased from NICKMAX to 128)

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

17 years agoAllow for nick!user@host in TOPIC information.
brain [Sun, 11 Feb 2007 18:50:04 +0000 (18:50 +0000)]
Allow for nick!user@host in TOPIC information.
Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes)

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

17 years agoFix rehashing to display a success notice, tidy up some WriteOpers notices
brain [Sat, 10 Feb 2007 23:10:57 +0000 (23:10 +0000)]
Fix rehashing to display a success notice, tidy up some WriteOpers notices

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

17 years agoTweak hostname matching in HostMatchesEveryone to compensate for being able to match...
brain [Sat, 10 Feb 2007 21:47:42 +0000 (21:47 +0000)]
Tweak hostname matching in HostMatchesEveryone to compensate for being able to match all 3 of host and ip and CIDR

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

17 years agoUse userrec::MakeHost(), not strlcpy/strlcat!
brain [Sat, 10 Feb 2007 21:31:40 +0000 (21:31 +0000)]
Use userrec::MakeHost(), not strlcpy/strlcat!

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

17 years agoFix that equal sign '=' inside double quotes don't blow up confcheck.
peavey [Sat, 10 Feb 2007 21:26:32 +0000 (21:26 +0000)]
Fix that equal sign '=' inside double quotes don't blow up confcheck.

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

17 years agoFix typo reported by owine (bug #208)
brain [Sat, 10 Feb 2007 20:44:49 +0000 (20:44 +0000)]
Fix typo reported by owine (bug #208)

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

17 years agoMerge patch for WEBIRC command from satmd
brain [Sat, 10 Feb 2007 20:13:18 +0000 (20:13 +0000)]
Merge patch for WEBIRC command from satmd

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

17 years agoImprove +f kick message:
brain [Sat, 10 Feb 2007 17:19:01 +0000 (17:19 +0000)]
Improve +f kick message:
[17:25] --- You have been kicked from #test by test2.chatspike.net (Channel flood triggered (limit is 4 lines in 20 secs))

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

17 years agoMake some stuff configurable that hasnt been and should be.
brain [Sat, 10 Feb 2007 15:18:49 +0000 (15:18 +0000)]
Make some stuff configurable that hasnt been and should be.
<securelist waittime="n">: number of seconds a user must wait before LIST
<safelist throttle="n">: Number of seconds a user must wait between each LIST command

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

17 years agoAnd make it compile. (whoops)
brain [Sat, 10 Feb 2007 15:05:41 +0000 (15:05 +0000)]
And make it compile. (whoops)

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

17 years agotimermanager never had a ServerInstance. Give it one so we can use InspIRCd::Time...
brain [Sat, 10 Feb 2007 15:05:00 +0000 (15:05 +0000)]
timermanager never had a ServerInstance. Give it one so we can use InspIRCd::Time() rather than time()

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

17 years agoRemove dup code by calling TickTimers in a loop
brain [Sat, 10 Feb 2007 15:02:06 +0000 (15:02 +0000)]
Remove dup code by calling TickTimers in a loop

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

17 years agoDELETE() on the timergroup in DelTimer (small memory leak)
brain [Sat, 10 Feb 2007 14:58:04 +0000 (14:58 +0000)]
DELETE() on the timergroup in DelTimer (small memory leak)

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

17 years agoFinally make this module work at all on 1.1
brain [Sat, 10 Feb 2007 14:11:17 +0000 (14:11 +0000)]
Finally make this module work at all on 1.1

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

17 years agoWhen opening a file to read, check its not a directory with stat()
brain [Sat, 10 Feb 2007 00:11:02 +0000 (00:11 +0000)]
When opening a file to read, check its not a directory with stat()

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

17 years agoCheck for nonexistent file
brain [Fri, 9 Feb 2007 23:39:16 +0000 (23:39 +0000)]
Check for nonexistent file

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

17 years agoChange the constructor of ModeParser, make it just a tiny bit prettier.
brain [Fri, 9 Feb 2007 20:28:09 +0000 (20:28 +0000)]
Change the constructor of ModeParser, make it just a tiny bit prettier.
Rather than calling AddMode like 25 times, put them in a nice looking array and call it in a loop, doesnt look as craqy (although its exactly the same thing with makeup on)

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

17 years agoIncrement version and give codename -- release is planned for sunday.
brain [Fri, 9 Feb 2007 19:20:58 +0000 (19:20 +0000)]
Increment version and give codename -- release is planned for sunday.

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

17 years agoAdd and properly test the ability for an InspTimer to DelTimer itself from within...
brain [Fri, 9 Feb 2007 18:13:13 +0000 (18:13 +0000)]
Add and properly test the ability for an InspTimer to DelTimer itself from within its own Tick method.
This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager.
Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p
This FIXES m_ident and possibly some other stuff.

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

17 years agoAnd change this to gnutls in the debug message.
brain [Thu, 8 Feb 2007 20:40:47 +0000 (20:40 +0000)]
And change this to gnutls in the debug message.

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

17 years agoCatch the ModuleException thrown when AddIOHook fails, so that we can make a port...
brain [Thu, 8 Feb 2007 20:40:31 +0000 (20:40 +0000)]
Catch the ModuleException thrown when AddIOHook fails, so that we can make a port hook failure nonfatal.

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

17 years agoCheck for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ipv4...
brain [Thu, 8 Feb 2007 20:31:35 +0000 (20:31 +0000)]
Check for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ipv4 PTR lookup rather than ipv6

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

17 years ago"is now your hidden host" -> "is now your displayed host". Wording fits better when...
brain [Thu, 8 Feb 2007 19:01:35 +0000 (19:01 +0000)]
"is now your hidden host" -> "is now your displayed host". Wording fits better when uncloaking

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

17 years agoTry without deletes that it done anyway on close of InspSocket's socket.
peavey [Thu, 8 Feb 2007 02:49:23 +0000 (02:49 +0000)]
Try without deletes that it done anyway on close of InspSocket's socket.

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

17 years agoConsider your crackpipes confiscated, there was some right dailywtf-worthy stuff...
brain [Wed, 7 Feb 2007 22:18:06 +0000 (22:18 +0000)]
Consider your crackpipes confiscated, there was some right dailywtf-worthy stuff in here.

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

17 years agoRemove some debug
brain [Wed, 7 Feb 2007 21:58:22 +0000 (21:58 +0000)]
Remove some debug

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

17 years agoA quick unit test shows this is broken -- fix quick
brain [Wed, 7 Feb 2007 21:14:14 +0000 (21:14 +0000)]
A quick unit test shows this is broken -- fix quick

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

17 years agosatmd tell me if this works, if ive got the wrong octet i need to change a bit of...
brain [Wed, 7 Feb 2007 21:06:39 +0000 (21:06 +0000)]
satmd tell me if this works, if ive got the wrong octet i need to change a bit of logic ops

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

17 years agoFix warning, remove unused var
brain [Wed, 7 Feb 2007 20:03:42 +0000 (20:03 +0000)]
Fix warning, remove unused var

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

17 years agoRemember: C++ only works if you type the right method names and not ones that dont...
brain [Wed, 7 Feb 2007 20:02:51 +0000 (20:02 +0000)]
Remember: C++ only works if you type the right method names and not ones that dont exist.

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

17 years agoIdent fixes,
brain [Wed, 7 Feb 2007 19:56:35 +0000 (19:56 +0000)]
Ident fixes,
removal of some old craq we dont use.
cgiirc optimizations and tidyups

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

17 years agoFix ipv6 ass-u-me's
brain [Wed, 7 Feb 2007 19:46:05 +0000 (19:46 +0000)]
Fix ipv6 ass-u-me's

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

17 years agoAdd InvalidateCache() calls and fix a ton of ass-u-me :/
brain [Wed, 7 Feb 2007 19:41:42 +0000 (19:41 +0000)]
Add InvalidateCache() calls and fix a ton of ass-u-me :/

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

17 years agoMake this work when we have both ipv6 and ipv4 connections at once
brain [Wed, 7 Feb 2007 19:39:42 +0000 (19:39 +0000)]
Make this work when we have both ipv6 and ipv4 connections at once

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

17 years agoTo be more specific, specify rpath() macro here
brain [Wed, 7 Feb 2007 19:12:53 +0000 (19:12 +0000)]
To be more specific, specify rpath() macro here

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

17 years agoDocument bind value
brain [Wed, 7 Feb 2007 17:53:49 +0000 (17:53 +0000)]
Document bind value

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

17 years agoSupport port binding here
brain [Wed, 7 Feb 2007 17:50:41 +0000 (17:50 +0000)]
Support port binding here

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

17 years agoAdded support for explicitly binding an outbound connection to an ip. Will be used...
brain [Wed, 7 Feb 2007 17:42:20 +0000 (17:42 +0000)]
Added support for explicitly binding an outbound connection to an ip. Will be used by spanningtree.

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

17 years agoIf a user connects over 4in6 (YUCK) give them an ipv4 cloak
brain [Wed, 7 Feb 2007 17:19:12 +0000 (17:19 +0000)]
If a user connects over 4in6 (YUCK) give them an ipv4 cloak

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

17 years agoFix for bug #205 reported by nenolod (modules that erroneously check remote users...
brain [Wed, 7 Feb 2007 17:03:15 +0000 (17:03 +0000)]
Fix for bug #205 reported by nenolod (modules that erroneously check remote users to apply privmsg/notice restrictions)

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

17 years agoExtra safety checks while exchanging certs, just in case
brain [Tue, 6 Feb 2007 21:17:15 +0000 (21:17 +0000)]
Extra safety checks while exchanging certs, just in case

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

17 years agoRemove debug output that was only useful to me
brain [Tue, 6 Feb 2007 20:22:06 +0000 (20:22 +0000)]
Remove debug output that was only useful to me

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

17 years agoRemove ::ffff: 4in6 craq from documentation. Show that its still usable, but not...
brain [Tue, 6 Feb 2007 19:29:59 +0000 (19:29 +0000)]
Remove ::ffff: 4in6 craq from documentation. Show that its still usable, but not neccessary.

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