]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFixed a crash within the timeout for m_httpd sockets
special [Sun, 19 Aug 2007 05:00:12 +0000 (05:00 +0000)]
Fixed a crash within the timeout for m_httpd sockets

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

17 years agoAdded the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod
special [Sat, 18 Aug 2007 14:40:19 +0000 (14:40 +0000)]
Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod

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

17 years ago* Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would...
burlex [Fri, 17 Aug 2007 19:43:42 +0000 (19:43 +0000)]
* Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would result in a "ban list full" message.

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

17 years agoChange to virtual
w00t [Fri, 17 Aug 2007 14:57:52 +0000 (14:57 +0000)]
Change to  virtual

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

17 years agoFixed bug #390 (broken m_chanprotect noservices)
special [Thu, 16 Aug 2007 05:27:39 +0000 (05:27 +0000)]
Fixed bug #390 (broken m_chanprotect noservices)

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

17 years agoRemoval of ifdef
brain [Wed, 15 Aug 2007 21:44:46 +0000 (21:44 +0000)]
Removal of ifdef

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

17 years agoFixed, i forgot the virtual when implementing this
brain [Wed, 15 Aug 2007 21:26:36 +0000 (21:26 +0000)]
Fixed, i forgot the virtual when implementing this

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

17 years agoThis is now correct.
brain [Wed, 15 Aug 2007 21:25:58 +0000 (21:25 +0000)]
This is now correct.
No win32 #ifdefs in the base class, being as IOCPEngine is only built on windows we can put the code here without the need for ifdef.
The original check in socketengine_iocp was broken, copied burlex's fixed version into the child class

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

17 years ago* include/caller.h will now compile correctly on Windows platforms.
burlex [Wed, 15 Aug 2007 20:41:30 +0000 (20:41 +0000)]
* include/caller.h will now compile correctly on Windows platforms.
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds.
* SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working)
* Fixed VC71 project.

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

17 years agoFix small typo found by danieldg
brain [Wed, 15 Aug 2007 18:12:48 +0000 (18:12 +0000)]
Fix small typo found by danieldg

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

17 years agoChanged m_messageflood to use PreMessage and PreNotice, because it may kick the user
special [Wed, 15 Aug 2007 01:39:12 +0000 (01:39 +0000)]
Changed m_messageflood to use PreMessage and PreNotice, because it may kick the user

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

17 years agoFix new millisec /map to compile on windows, by ifndef gettimeofday out reverting...
peavey [Mon, 13 Aug 2007 22:16:41 +0000 (22:16 +0000)]
Fix new millisec /map to compile on windows, by ifndef gettimeofday out reverting back to seconds for latency.

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

17 years agoMore changes from patch. Don't throttle opers due to server load.
w00t [Mon, 13 Aug 2007 12:21:56 +0000 (12:21 +0000)]
More changes from patch. Don't throttle opers due to server load.

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

17 years agoCommit some changes from third party patch. Thanks Avenger and HiroP. Patch review...
w00t [Mon, 13 Aug 2007 12:17:00 +0000 (12:17 +0000)]
Commit some changes from third party patch. Thanks Avenger and HiroP. Patch review is not finished, there may be more changes to come.

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

17 years agoFix this so it works.
brain [Sat, 11 Aug 2007 12:17:07 +0000 (12:17 +0000)]
Fix this so it works.
OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader.
If you want to test this, try with:    rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo.

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

17 years agoAllow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allow users...
brain [Sat, 11 Aug 2007 12:05:31 +0000 (12:05 +0000)]
Allow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allow users to fix an emergency situation you can create by trying to reload a corrupt .so without needing a restart

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

17 years agoMake the return codes correct, and allow for LoadCommand without a user pointer
brain [Sat, 11 Aug 2007 11:34:32 +0000 (11:34 +0000)]
Make the return codes correct, and allow for LoadCommand without a user pointer

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

17 years agoProvide error output on failure to load a core command; to console on startup, and...
brain [Sat, 11 Aug 2007 11:29:15 +0000 (11:29 +0000)]
Provide error output on failure to load a core command; to console on startup, and to user on /reload

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

17 years agoFix a typo so it compiles.
peavey [Sat, 11 Aug 2007 08:46:44 +0000 (08:46 +0000)]
Fix a typo so it compiles.

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

17 years agoFix possible sqllog crash (working blind here!) where it could attempt to delete...
brain [Fri, 10 Aug 2007 21:07:41 +0000 (21:07 +0000)]
Fix possible sqllog crash (working blind here!) where it could attempt to delete a pointer without knowing if that pointer was valid. (NEVER EVER use operator[] to lookup a map value, always use ::find())

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

17 years agoFix non-opers using who on themselves when set +i
w00t [Fri, 10 Aug 2007 17:02:20 +0000 (17:02 +0000)]
Fix non-opers using who on themselves when set +i

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

17 years agoPatch from djGrrr that correctly detects epoll on fedora 7, which SMRTly decided...
brain [Thu, 9 Aug 2007 22:00:40 +0000 (22:00 +0000)]
Patch from djGrrr that correctly detects epoll on fedora 7, which SMRTly decided not to put libc.so.6 in /lib, or even symlink /lib to lib64...

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

17 years agoMake sure that dns sockets never block (thanks djGrrr)
brain [Thu, 9 Aug 2007 21:53:56 +0000 (21:53 +0000)]
Make sure that dns sockets never block (thanks djGrrr)

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

17 years agoRemove an un-needed define while I poke around in here
w00t [Thu, 9 Aug 2007 19:49:01 +0000 (19:49 +0000)]
Remove an un-needed define while I poke around in here

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

17 years agoShow <unknown> instead of an empty string on CAPAB failure, spotted by djGrrr
w00t [Thu, 9 Aug 2007 16:39:54 +0000 (16:39 +0000)]
Show <unknown> instead of an empty string on CAPAB failure, spotted by djGrrr

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

17 years agoFix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Q
brain [Thu, 9 Aug 2007 16:20:28 +0000 (16:20 +0000)]
Fix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Q

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

17 years agoFeature request from djGrr, allow changing of server to server ping frequency
brain [Tue, 7 Aug 2007 21:44:44 +0000 (21:44 +0000)]
Feature request from djGrr, allow changing of server to server ping frequency

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

17 years agoCheck for remote and sighup rehashes here, so that it doesnt crash if there are ports...
brain [Tue, 7 Aug 2007 00:19:13 +0000 (00:19 +0000)]
Check for remote and sighup rehashes here, so that it doesnt crash if there are ports that cant be bound

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

17 years agoPart of our fix didnt make it to here!
brain [Mon, 6 Aug 2007 23:35:44 +0000 (23:35 +0000)]
Part of our fix didnt make it to here!

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

17 years agoReset connect class settings on DNS resolution as we should.
w00t [Mon, 6 Aug 2007 19:55:09 +0000 (19:55 +0000)]
Reset connect class settings on DNS resolution as we should.

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

17 years agoFix warning in 4.2 gcc
brain [Mon, 6 Aug 2007 09:16:01 +0000 (09:16 +0000)]
Fix warning in 4.2 gcc

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

17 years agoFix m_deaf not restricting messages from remote users, fixes bug #378 reported by...
w00t [Mon, 6 Aug 2007 07:58:37 +0000 (07:58 +0000)]
Fix m_deaf not restricting messages from remote users, fixes bug #378 reported by Skip

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

17 years agoThis is supported in exemptchanops
w00t [Sun, 5 Aug 2007 22:03:24 +0000 (22:03 +0000)]
This is supported in exemptchanops

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

17 years agoAdd m_nickflood to example conf.
w00t [Sun, 5 Aug 2007 21:55:27 +0000 (21:55 +0000)]
Add m_nickflood to example conf.

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

17 years agoLogic cleanup for chanrec::JoinUser - why I didn't do this the other 3-4 times I...
w00t [Sun, 5 Aug 2007 19:51:57 +0000 (19:51 +0000)]
Logic cleanup for chanrec::JoinUser - why I didn't do this the other 3-4 times I've reworked this I don't know..

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

17 years agoChange latency figures in /map to milliseconds, much more useful for lag measurement...
brain [Sun, 5 Aug 2007 19:22:10 +0000 (19:22 +0000)]
Change latency figures in /map to milliseconds, much more useful for lag measurement than seconds

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

17 years agoFix spelling mistakes on some log messages
w00t [Sun, 5 Aug 2007 18:04:52 +0000 (18:04 +0000)]
Fix spelling mistakes on some log messages

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

17 years agoAdd m_nickflood: Provides usermode +F nickchanges:seconds - allows nickchanges:second...
w00t [Sun, 5 Aug 2007 17:08:40 +0000 (17:08 +0000)]
Add m_nickflood: Provides usermode +F nickchanges:seconds - allows nickchanges:seconds on a per-channel basis before denying further changes by any user on that channel. Requested in bug #325 by Potter. Works with <options:exemptchanops>, too.

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

17 years agoTry this
brain [Sun, 5 Aug 2007 14:43:58 +0000 (14:43 +0000)]
Try this

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

17 years agoFix to trigger the write notification on successful writes, too
brain [Sun, 5 Aug 2007 14:40:16 +0000 (14:40 +0000)]
Fix to trigger the write notification on successful writes, too

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

17 years agoRevert my fix and apply the flushevent, and a bit of debugging output.
peavey [Sun, 5 Aug 2007 14:36:51 +0000 (14:36 +0000)]
Revert my fix and apply the flushevent, and a bit of debugging output.

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

17 years agoFixes from experiences on chatspike. Use the proper OnBufferFlushed event to decide...
brain [Sun, 5 Aug 2007 13:51:33 +0000 (13:51 +0000)]
Fixes from experiences on chatspike. Use the proper OnBufferFlushed event to decide when to write data, don't just recursively call OnRawSocketWrite when it fails (duhhhhhhh)

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

17 years agoBetter check for kernel build version and libc version for epoll availability.
brain [Sun, 5 Aug 2007 12:21:19 +0000 (12:21 +0000)]
Better check for kernel build version and libc version for epoll availability.

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

17 years agoFix random debian (well, duplicated on debian) breakage with client sockets 'hanging...
brain [Sun, 5 Aug 2007 12:12:42 +0000 (12:12 +0000)]
Fix random debian (well, duplicated on debian) breakage with client sockets 'hanging' on connect

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

17 years agoRemove debug again.
peavey [Sat, 4 Aug 2007 03:07:31 +0000 (03:07 +0000)]
Remove debug again.

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

17 years agoFix openssl.
peavey [Sat, 4 Aug 2007 02:57:53 +0000 (02:57 +0000)]
Fix openssl.

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

17 years agoSecond part of fix, in theory
brain [Fri, 3 Aug 2007 21:57:58 +0000 (21:57 +0000)]
Second part of fix, in theory

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

17 years agoAttempt fix for openssl buffer issue (fix was already here but experimental and comme...
brain [Fri, 3 Aug 2007 21:46:14 +0000 (21:46 +0000)]
Attempt fix for openssl buffer issue (fix was already here but experimental and commented out)

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

17 years agoAdd VF_COMMON to a lot modules which require it. Reported by danielg in bug #369...
w00t [Fri, 3 Aug 2007 21:22:10 +0000 (21:22 +0000)]
Add VF_COMMON to a lot modules which require it. Reported by danielg in bug #369 and bug #370. Thanks, and sorry for the delay. Also fix one or two erroneous CMD_FAILURE that are more understandable as CMD_LOCALONLY. :)

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

17 years agoThere was a missing colon on remote numeric 376. Spotted by Hal9000 of Denora.
w00t [Fri, 3 Aug 2007 20:18:28 +0000 (20:18 +0000)]
There was a missing colon on remote numeric 376. Spotted by Hal9000 of Denora.

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

17 years agoAllow clients on ULined servers to request stats indiscriminately.
w00t [Fri, 3 Aug 2007 17:09:24 +0000 (17:09 +0000)]
Allow clients on ULined servers to request stats indiscriminately.

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

17 years agoForward port of the fix to secret channels in /list
special [Mon, 30 Jul 2007 19:58:18 +0000 (19:58 +0000)]
Forward port of the fix to secret channels in /list

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

17 years agoAdd uptime
brain [Mon, 30 Jul 2007 19:29:18 +0000 (19:29 +0000)]
Add uptime

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

17 years agoAdd servers and server user counts, module versions
brain [Mon, 30 Jul 2007 19:20:59 +0000 (19:20 +0000)]
Add servers and server user counts, module versions

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

17 years agoOutput is now xml in trunk.
brain [Mon, 30 Jul 2007 18:53:11 +0000 (18:53 +0000)]
Output is now xml in trunk.

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

17 years agoDont show hidden channels
brain [Mon, 30 Jul 2007 18:37:45 +0000 (18:37 +0000)]
Dont show hidden channels

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

17 years agoFix some op/halfop counts
brain [Mon, 30 Jul 2007 18:35:06 +0000 (18:35 +0000)]
Fix some op/halfop counts

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

17 years agoSet changed to true on load
brain [Mon, 30 Jul 2007 18:31:59 +0000 (18:31 +0000)]
Set changed to true on load

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

17 years agoReplace blank error pages with an error page
brain [Mon, 30 Jul 2007 18:30:02 +0000 (18:30 +0000)]
Replace blank error pages with an error page

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

17 years agoThe macros which tidy up module factories broke m_httpd, fixed.
brain [Mon, 30 Jul 2007 18:24:14 +0000 (18:24 +0000)]
The macros which tidy up module factories broke m_httpd, fixed.

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

17 years agoUpdate with warning about using \\ instead of \ (so that we don't get a repeat of...
brain [Sun, 29 Jul 2007 19:35:58 +0000 (19:35 +0000)]
Update with warning about using \\ instead of \ (so that we don't get a repeat of bug #371)

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

17 years agoThis should be set as a 1.2 not 1.1 installer
brain [Sun, 29 Jul 2007 13:21:56 +0000 (13:21 +0000)]
This should be set as a 1.2 not 1.1 installer

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

17 years agoCreate module line for m_close
brain [Sun, 29 Jul 2007 12:46:22 +0000 (12:46 +0000)]
Create module line for m_close

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

17 years agoAdd /CLOSE which quit off all unregistered client connections. Based on the U4 module.
peavey [Sun, 29 Jul 2007 12:17:45 +0000 (12:17 +0000)]
Add /CLOSE which quit off all unregistered client connections. Based on the U4 module.

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

17 years agouse new != operator :p
peavey [Sat, 28 Jul 2007 19:48:16 +0000 (19:48 +0000)]
use new != operator :p

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

17 years agooperators for std::string != irc::string and vice versa.
peavey [Sat, 28 Jul 2007 18:13:35 +0000 (18:13 +0000)]
operators for std::string != irc::string and vice versa.

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

17 years agoDo not take away mode r for nickchanges that only changes the case.
peavey [Sat, 28 Jul 2007 18:04:07 +0000 (18:04 +0000)]
Do not take away mode r for nickchanges that only changes the case.

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

17 years agomake sure that the pointers are set up correctly for win32
brain [Fri, 27 Jul 2007 19:50:42 +0000 (19:50 +0000)]
make sure that the pointers are set up correctly for win32

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

17 years agoWindows specific data types in EventHandler are now Extensible items
brain [Fri, 27 Jul 2007 19:26:27 +0000 (19:26 +0000)]
Windows specific data types in EventHandler are now Extensible items

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

17 years agoRemoval of some ifdefs
brain [Fri, 27 Jul 2007 18:16:09 +0000 (18:16 +0000)]
Removal of some ifdefs

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

17 years agoTidyups, remove of ifdefs
brain [Fri, 27 Jul 2007 18:11:03 +0000 (18:11 +0000)]
Tidyups, remove of ifdefs

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

17 years agoAnd another error fix
brain [Fri, 27 Jul 2007 17:55:05 +0000 (17:55 +0000)]
And another error fix

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

17 years agoSIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.
brain [Fri, 27 Jul 2007 17:52:17 +0000 (17:52 +0000)]
SIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.
Also, define WIN32_LEAN_AND_MEAN as we should be able to get away with using it now we dont have the shell functions

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

17 years agoadd filelogger.* and server.* to the project file so theyre compiled
brain [Fri, 27 Jul 2007 17:46:50 +0000 (17:46 +0000)]
add filelogger.* and server.* to the project file so theyre compiled

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

17 years agoAnd more to fix
brain [Fri, 27 Jul 2007 17:40:37 +0000 (17:40 +0000)]
And more to fix

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

17 years agoFix compile errors in windows
brain [Fri, 27 Jul 2007 17:39:51 +0000 (17:39 +0000)]
Fix compile errors in windows

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

17 years agoFound the bug, turns out i just introduced it with the last commit :p
brain [Fri, 27 Jul 2007 17:20:41 +0000 (17:20 +0000)]
Found the bug, turns out i just introduced it with the last commit :p

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

17 years agoNeeds testbuilding in windows. I will probably do this in a minute.
brain [Fri, 27 Jul 2007 17:02:24 +0000 (17:02 +0000)]
Needs testbuilding in windows. I will probably do this in a minute.
More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs

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

17 years agoSome smart tricks to eliminate win32 ifdefs that are creeping into portable files
brain [Fri, 27 Jul 2007 16:50:53 +0000 (16:50 +0000)]
Some smart tricks to eliminate win32 ifdefs that are creeping into portable files

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

17 years agoMove a bunch of stuff around for tidyness, win32 functions keep creeping into #ifdef...
brain [Fri, 27 Jul 2007 16:45:03 +0000 (16:45 +0000)]
Move a bunch of stuff around for tidyness, win32 functions keep creeping into #ifdef'ed chunks in non-win32 files

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

17 years agoMore detail on the comment to indicate how to replace a functor in a class
brain [Thu, 26 Jul 2007 19:57:14 +0000 (19:57 +0000)]
More detail on the comment to indicate how to replace a functor in a class

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

17 years agoAbort if we cant chdir to our own dir (i'd say we have bigger things to worry about...
brain [Thu, 26 Jul 2007 19:51:05 +0000 (19:51 +0000)]
Abort if we cant chdir to our own dir (i'd say we have bigger things to worry about if this happens, but meh)

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

17 years agoSet defaults for an enum
brain [Thu, 26 Jul 2007 19:45:50 +0000 (19:45 +0000)]
Set defaults for an enum

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

17 years agoAdd extra detail to m_cloaking on failure to load
brain [Thu, 26 Jul 2007 18:44:13 +0000 (18:44 +0000)]
Add extra detail to m_cloaking on failure to load

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

17 years agoForgot to add to init-list
brain [Thu, 26 Jul 2007 16:41:05 +0000 (16:41 +0000)]
Forgot to add to init-list

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

17 years agoMove a ton of stuff into caller* functors
brain [Thu, 26 Jul 2007 16:36:37 +0000 (16:36 +0000)]
Move a ton of stuff into caller* functors

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

17 years agoApply diff for userprocess.cpp from earlier in the day
brain [Thu, 26 Jul 2007 15:57:50 +0000 (15:57 +0000)]
Apply diff for userprocess.cpp from earlier in the day

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

17 years agoUn-static InspIRCd::Exit and use SignalHandler instead.
peavey [Wed, 25 Jul 2007 20:23:18 +0000 (20:23 +0000)]
Un-static InspIRCd::Exit and use SignalHandler instead.

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

17 years agoRehash from console works again due to new signalhandler. TODO: Use this to catch...
peavey [Wed, 25 Jul 2007 19:46:25 +0000 (19:46 +0000)]
Rehash from console works again due to new signalhandler. TODO: Use this to catch SIGTERM and exit cleanly.

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

17 years agoAdd macros up to 8 parameters
brain [Wed, 25 Jul 2007 17:41:06 +0000 (17:41 +0000)]
Add macros up to 8 parameters

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

17 years agoShorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining functor...
brain [Wed, 25 Jul 2007 17:36:13 +0000 (17:36 +0000)]
Shorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining functor classes that just implement Call()

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

17 years agoTurn IsIdent into a functor
brain [Wed, 25 Jul 2007 17:21:30 +0000 (17:21 +0000)]
Turn IsIdent into a functor

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

17 years agoComment the caller0....caller8 classes
brain [Wed, 25 Jul 2007 17:07:15 +0000 (17:07 +0000)]
Comment the caller0....caller8 classes

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

17 years agoForgot to add this
brain [Wed, 25 Jul 2007 17:03:16 +0000 (17:03 +0000)]
Forgot to add this

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

17 years agoAdd template creation tool for caller classes
brain [Wed, 25 Jul 2007 17:01:18 +0000 (17:01 +0000)]
Add template creation tool for caller classes

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

17 years agoAdd stuff for functors. Currently, as a test case only InspIRCd::IsNick has been...
brain [Wed, 25 Jul 2007 16:58:56 +0000 (16:58 +0000)]
Add stuff for functors. Currently, as a test case only InspIRCd::IsNick has been 'functorized'

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

17 years agoBegin move of rehash to server.cpp - broken rehash from cmdline for now.
peavey [Wed, 25 Jul 2007 15:07:27 +0000 (15:07 +0000)]
Begin move of rehash to server.cpp - broken rehash from cmdline for now.

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

17 years agosvn add I fail it
peavey [Wed, 25 Jul 2007 11:54:08 +0000 (11:54 +0000)]
svn add I fail it

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

17 years agoPut FileLogger in it's own class. Useful when logging doing more focused logging
peavey [Wed, 25 Jul 2007 11:53:07 +0000 (11:53 +0000)]
Put FileLogger in it's own class. Useful when logging doing more focused logging

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

17 years agoReplace some voodoo with a define
w00t [Tue, 24 Jul 2007 20:21:29 +0000 (20:21 +0000)]
Replace some voodoo with a define

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