]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoSomeone is getting slapped for this; the new hidesplits/hidebans behavior doesn't...
special [Thu, 15 Mar 2007 05:04:51 +0000 (05:04 +0000)]
Someone is getting slapped for this; the new hidesplits/hidebans behavior doesn't actually check if those options are enabled.

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

17 years agoFix blockcaps. Who on earth thought that percentage was x*100 / y ???
brain [Wed, 14 Mar 2007 17:55:26 +0000 (17:55 +0000)]
Fix blockcaps. Who on earth thought that percentage was x*100 / y ???
Its (x/y)*100, muppets :p
(also, you cant do floating point maths on integers)

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

17 years agoFix /who thing that dmb spotted
brain [Tue, 13 Mar 2007 23:17:32 +0000 (23:17 +0000)]
Fix /who thing that dmb spotted

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

17 years agoTag with 1.1.3 version name (StinkingBishop)
brain [Tue, 13 Mar 2007 21:48:03 +0000 (21:48 +0000)]
Tag with 1.1.3 version name (StinkingBishop)

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

17 years agoMake /stats P show 'secs' after idle times
brain [Mon, 12 Mar 2007 23:31:18 +0000 (23:31 +0000)]
Make /stats P show 'secs' after idle times

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

17 years agocleanup indentation
peavey [Sun, 11 Mar 2007 20:47:09 +0000 (20:47 +0000)]
cleanup indentation

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

17 years agoRemove stray "Notice:" - text only change
brain [Sun, 11 Mar 2007 19:39:39 +0000 (19:39 +0000)]
Remove stray "Notice:" - text only change

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

17 years agoFix minor bug, number of users listing doesnt decrement if a user quits while they...
brain [Sun, 11 Mar 2007 18:30:44 +0000 (18:30 +0000)]
Fix minor bug, number of users listing doesnt decrement if a user quits while they are in the middle of listing

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

17 years agoFix malformed notice
brain [Sun, 11 Mar 2007 16:27:02 +0000 (16:27 +0000)]
Fix malformed notice

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

17 years agoDocument OnBufferFlushed
brain [Sun, 11 Mar 2007 16:23:58 +0000 (16:23 +0000)]
Document OnBufferFlushed

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

17 years agoRemove debug
brain [Sun, 11 Mar 2007 16:04:00 +0000 (16:04 +0000)]
Remove debug

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

17 years agoAdd safelist:maxlisters which prevents more than x number of people doing a LIST...
brain [Sun, 11 Mar 2007 16:01:56 +0000 (16:01 +0000)]
Add safelist:maxlisters which prevents more than x number of people doing a LIST at the same time.
(as i've just noticed, 500 bots all doing LIST at once can severely lag your ircd)

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

17 years agoAdded OnBufferFlush, improved m_safelist, no longer works on a timer but works on...
brain [Sun, 11 Mar 2007 15:53:34 +0000 (15:53 +0000)]
Added OnBufferFlush, improved m_safelist, no longer works on a timer but works on the writeability state of each user who is listing.
Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount)

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

17 years agoFixed a crash with a malformed server-to-server NICK command, thanks dmb
special [Sun, 11 Mar 2007 07:27:01 +0000 (07:27 +0000)]
Fixed a crash with a malformed server-to-server NICK command, thanks dmb

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

17 years agoJust comments
brain [Sun, 11 Mar 2007 04:53:11 +0000 (04:53 +0000)]
Just comments

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

17 years agoRemove debug
brain [Sun, 11 Mar 2007 02:51:51 +0000 (02:51 +0000)]
Remove debug

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

17 years agoComments only.
brain [Sun, 11 Mar 2007 02:19:32 +0000 (02:19 +0000)]
Comments only.

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

17 years agoBump protocol revision
brain [Sun, 11 Mar 2007 01:10:11 +0000 (01:10 +0000)]
Bump protocol revision

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

17 years agoThis now makes RemoveStatus remove *everything* as pointed out by jilles. This will...
brain [Sat, 10 Mar 2007 22:06:53 +0000 (22:06 +0000)]
This now makes RemoveStatus remove *everything* as pointed out by jilles. This will prevent simplemodes desyncs.

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

17 years agoAdd a TODO comment
brain [Sat, 10 Mar 2007 20:55:10 +0000 (20:55 +0000)]
Add a TODO comment

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

17 years agoWhoops, fix a silly bug i just introduced :p
brain [Sat, 10 Mar 2007 18:18:33 +0000 (18:18 +0000)]
Whoops, fix a silly bug i just introduced :p

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

17 years agoMove FJOIN propogation above the FMODEs generated by winning an FJOIN
brain [Sat, 10 Mar 2007 18:15:13 +0000 (18:15 +0000)]
Move FJOIN propogation above the FMODEs generated by winning an FJOIN

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

17 years agoRemove yet more debug
brain [Sat, 10 Mar 2007 17:58:06 +0000 (17:58 +0000)]
Remove yet more debug

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

17 years agoRemove debug code left in here
brain [Sat, 10 Mar 2007 17:56:45 +0000 (17:56 +0000)]
Remove debug code left in here

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

17 years agoFix typo
brain [Sat, 10 Mar 2007 17:51:38 +0000 (17:51 +0000)]
Fix typo

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

17 years agoHIGHLY EXPERIMENTAL: This needs heavy testing -- new FMODE behaviour:
brain [Sat, 10 Mar 2007 17:45:02 +0000 (17:45 +0000)]
HIGHLY EXPERIMENTAL: This needs heavy testing -- new FMODE behaviour:
(1) IF THEIRTS <= OURTS, ACCEPT MODE AND PASS ON
(2) If THEIRTS > OURTS, drop the mode and DONT pass on.

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

17 years agoFix the operator== for irc::string -> std::string to be const&, the lack of const...
brain [Sat, 10 Mar 2007 15:29:47 +0000 (15:29 +0000)]
Fix the operator== for irc::string -> std::string to be const&, the lack of const was stopping them being used in certain situations, this saves us a bunch of assign()

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

17 years agoChange mask variable to irc::string to allow for case insensitive removal/addition
brain [Sat, 10 Mar 2007 15:16:27 +0000 (15:16 +0000)]
Change mask variable to irc::string to allow for case insensitive removal/addition

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

17 years ago/who tidyup - needs QA'ing
brain [Fri, 9 Mar 2007 11:49:41 +0000 (11:49 +0000)]
/who tidyup - needs QA'ing

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

17 years agoApply <options:hidewhois> in /who results (bug #239); someone should clean up /who...
special [Fri, 9 Mar 2007 03:23:32 +0000 (03:23 +0000)]
Apply <options:hidewhois> in /who results (bug #239); someone should clean up /who soon, perhaps i'll do it

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

17 years agocompile error fix ahoy
brain [Thu, 8 Mar 2007 15:26:45 +0000 (15:26 +0000)]
compile error fix ahoy

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

17 years agoTake away a uline specific check in fmode, which might explain why desyncs between...
brain [Thu, 8 Mar 2007 14:58:30 +0000 (14:58 +0000)]
Take away a uline specific check in fmode, which might explain why desyncs between servers only occur when theres a ulined server about.
QA please test this with at least 2 insps and services and server syncs/splits, check for channel mode desyncs.

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

17 years agoChange options:notimesync to options:timesync -> reverse its meaning and default...
brain [Thu, 8 Mar 2007 14:41:27 +0000 (14:41 +0000)]
Change options:notimesync to options:timesync -> reverse its meaning and default it to off

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

17 years agoUpdate example conf - this needs documenting on the wiki (previous commit)
brain [Thu, 8 Mar 2007 11:31:59 +0000 (11:31 +0000)]
Update example conf - this needs documenting on the wiki (previous commit)

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

17 years agooption to allow announce of invites to channel (similar to unreal)
brain [Thu, 8 Mar 2007 11:26:31 +0000 (11:26 +0000)]
option to allow announce of invites to channel (similar to unreal)

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

17 years agoPatch by satmd to support using IP addresses with cgiirc
special [Thu, 8 Mar 2007 04:03:13 +0000 (04:03 +0000)]
Patch by satmd to support using IP addresses with cgiirc

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

17 years agoFixes for snotice quit reasons
brain [Tue, 6 Mar 2007 23:04:20 +0000 (23:04 +0000)]
Fixes for snotice quit reasons

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

17 years agoFix on-rehash reloading of the lists... and why were we tokenizing the string on...
brain [Tue, 6 Mar 2007 22:53:51 +0000 (22:53 +0000)]
Fix on-rehash reloading of the lists... and why were we tokenizing the string on every connect/operup, when we should do it once on rehash? This makes it a ton faster.

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

17 years agoFix for bug #237
brain [Tue, 6 Mar 2007 22:48:26 +0000 (22:48 +0000)]
Fix for bug #237

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

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