]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFix double printing of 'setting log file' and 'setting config file' paths.
brain [Mon, 11 Jun 2007 22:56:53 +0000 (22:56 +0000)]
Fix double printing of 'setting log file' and 'setting config file' paths.
Add comment about not using direct pointer from GetCommandLine()

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

17 years agoWe need to pass a copy of GetCommandLine() not the actual return pointer.
brain [Mon, 11 Jun 2007 22:30:56 +0000 (22:30 +0000)]
We need to pass a copy of GetCommandLine() not the actual return pointer.

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

17 years agoTweak some tabular declarations to look correct on 8-width tabs
brain [Mon, 11 Jun 2007 22:16:17 +0000 (22:16 +0000)]
Tweak some tabular declarations to look correct on 8-width tabs

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

17 years agoWoo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)
brain [Mon, 11 Jun 2007 22:05:25 +0000 (22:05 +0000)]
Woo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)

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

17 years agoFixed commandline stuff for CreateProcess, but it looks like win2k doesnt like that...
brain [Mon, 11 Jun 2007 21:51:22 +0000 (21:51 +0000)]
Fixed commandline stuff for CreateProcess, but it looks like win2k doesnt like that AUTHZ const. Commented it out for now till burlex comes up with a solution

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

17 years ago* Changes to userprocess functions to allow flood limit removal by m_operflood.
burlex [Mon, 11 Jun 2007 21:39:09 +0000 (21:39 +0000)]
* Changes to userprocess functions to allow flood limit removal by m_operflood.

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

17 years agoPrompting for wether or not to wipe the .h and build from clean (default to no)
brain [Mon, 11 Jun 2007 21:06:17 +0000 (21:06 +0000)]
Prompting for wether or not to wipe the .h and build from clean (default to no)

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

17 years agoChange from /GS to /Gm in makefiles
brain [Mon, 11 Jun 2007 20:54:30 +0000 (20:54 +0000)]
Change from /GS to /Gm in makefiles

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

17 years ago- Added more debug output to windows fork in order to help debug problems encountered.
burlex [Mon, 11 Jun 2007 20:35:28 +0000 (20:35 +0000)]
- Added more debug output to windows fork in order to help debug problems encountered.

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

17 years agoPut the check back so we dont keep doing builds from scratch every time
brain [Mon, 11 Jun 2007 20:34:47 +0000 (20:34 +0000)]
Put the check back so we dont keep doing builds from scratch every time

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

17 years agoThe spelling nazis are amongst us!
brain [Mon, 11 Jun 2007 20:11:08 +0000 (20:11 +0000)]
The spelling nazis are amongst us!

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

17 years agoRemove unused var
brain [Mon, 11 Jun 2007 20:04:16 +0000 (20:04 +0000)]
Remove unused var

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

17 years ago- Removed un-needed event create at windows fork.
burlex [Sat, 9 Jun 2007 23:20:42 +0000 (23:20 +0000)]
- Removed un-needed event create at windows fork.
* Fixed command line arguments when using fork under windows.

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

17 years agoFixed issue preventing startup without --nofork under win32
frostycoolslug [Sat, 9 Jun 2007 23:10:39 +0000 (23:10 +0000)]
Fixed issue preventing startup without --nofork under win32

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

17 years agoA ton more clear() and empty() stuff thats been lingering on the long term todo for...
brain [Sat, 9 Jun 2007 12:32:34 +0000 (12:32 +0000)]
A ton more clear() and empty() stuff thats been lingering on the long term todo for too long a term :p

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

17 years agoChange some = "" to clear() and some == "" to .empty()
brain [Sat, 9 Jun 2007 12:10:12 +0000 (12:10 +0000)]
Change some = "" to clear() and some == "" to .empty()

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

17 years agoNote to devs: We should be using std::string::clear() to empty a std::string, NOT...
brain [Sat, 9 Jun 2007 12:02:35 +0000 (12:02 +0000)]
Note to devs: We should be using std::string::clear() to empty a std::string, NOT somestr = "". somestr = "" involves a pointless memory allocation and
assignment then de-allocation, whereas clear() just sets the length to 0.

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

17 years ago- Enabled minimal rebuild on all VS project files, this will reduce build time on...
burlex [Fri, 8 Jun 2007 23:02:40 +0000 (23:02 +0000)]
- Enabled minimal rebuild on all VS project files, this will reduce build time on small changes, also removed the -Auto configurations as they are no longer used.

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

17 years agoEnable SNOMASK 'K' (remote kill), and use it in cmd_kill. This has the side effect...
w00t [Fri, 8 Jun 2007 21:53:28 +0000 (21:53 +0000)]
Enable SNOMASK 'K' (remote kill), and use it in cmd_kill. This has the side effect of hiding kills from a server prefix at the moment as they work differently (ugh).

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

17 years ago- Eek, gotta make it look the same as *nix! Windows will now print the process id...
burlex [Fri, 8 Jun 2007 21:44:30 +0000 (21:44 +0000)]
- Eek, gotta make it look the same as *nix! Windows will now print the process id of the new "forked" process.

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

17 years ago- Whoops.. forgot a return here.
burlex [Fri, 8 Jun 2007 21:37:30 +0000 (21:37 +0000)]
- Whoops.. forgot a return here.

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

17 years ago* Changed forking code, now the parent will attempt to retrieve the exit code of...
burlex [Fri, 8 Jun 2007 21:35:14 +0000 (21:35 +0000)]
* Changed forking code, now the parent will attempt to retrieve the exit code of the created process if startup fails for some reason.
. Exit code 14 means the creation of the forked process under windows failed.

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

17 years ago* Fixed VC8 m_spanningtree project file. second commit?! :)
burlex [Fri, 8 Jun 2007 21:20:43 +0000 (21:20 +0000)]
* Fixed VC8 m_spanningtree project file. second commit?! :)

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

17 years ago+ Added an *almost* unix-like fork system for windows. Insp will create a secondary...
burlex [Fri, 8 Jun 2007 21:17:17 +0000 (21:17 +0000)]
+ Added an *almost* unix-like fork system for windows. Insp will create a secondary process now if nofork isn't specified and pipe its console output back to the originator's. If there is an error during startup, it will show too.
* Fixed m_spanningtree project (cmd_rsquit was missing)

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

17 years agoAdd Burlex to developers
w00t [Fri, 8 Jun 2007 16:42:04 +0000 (16:42 +0000)]
Add Burlex to developers

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

17 years agoMake this message slightly more meaningful, as discussed in .coders a while back
w00t [Fri, 8 Jun 2007 09:57:20 +0000 (09:57 +0000)]
Make this message slightly more meaningful, as discussed in .coders a while back

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

17 years agoAdd command /RSQUIT to spanningtree.
peavey [Thu, 7 Jun 2007 20:54:06 +0000 (20:54 +0000)]
Add command /RSQUIT to spanningtree.

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

17 years agoComments
brain [Wed, 6 Jun 2007 20:51:29 +0000 (20:51 +0000)]
Comments

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

17 years agoAdd back remote kill handler for server origin kills
brain [Wed, 6 Jun 2007 17:22:44 +0000 (17:22 +0000)]
Add back remote kill handler for server origin kills

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

17 years agoPatch fixing (almost) remote kill server notices, by just passing KILL onto cmd_kill...
w00t [Wed, 6 Jun 2007 14:43:25 +0000 (14:43 +0000)]
Patch fixing (almost) remote kill server notices, by just passing KILL onto cmd_kill and not attempting to duplicate code for it in spanningtree. Dev: Two small issues are left with this, see comments in cmd_kill.cpp. Thanks, HiroP.

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

17 years agoBe a little nicer.. this die error is funny, but confusing (got me once too)
w00t [Wed, 6 Jun 2007 11:38:53 +0000 (11:38 +0000)]
Be a little nicer.. this die error is funny, but confusing (got me once too)

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

17 years agoSame here
brain [Tue, 5 Jun 2007 21:40:33 +0000 (21:40 +0000)]
Same here

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

17 years agoSame here
brain [Tue, 5 Jun 2007 21:39:22 +0000 (21:39 +0000)]
Same here

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

17 years agoMinor url tweak
brain [Tue, 5 Jun 2007 21:36:59 +0000 (21:36 +0000)]
Minor url tweak

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

17 years agoUpdate ancient copyright header
brain [Tue, 5 Jun 2007 21:36:18 +0000 (21:36 +0000)]
Update ancient copyright header

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

17 years agoList developer arguments (debug, screendebug etc) so they don't need to be looked up
w00t [Tue, 5 Jun 2007 21:34:17 +0000 (21:34 +0000)]
List developer arguments (debug, screendebug etc) so they don't need to be looked up

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

17 years agoSexeger!
brain [Tue, 5 Jun 2007 17:39:36 +0000 (17:39 +0000)]
Sexeger!

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

17 years agoInspIRCd: Now with even MORE leet.
brain [Tue, 5 Jun 2007 17:25:41 +0000 (17:25 +0000)]
InspIRCd: Now with even MORE leet.

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

17 years agoComments here, too
brain [Tue, 5 Jun 2007 16:52:24 +0000 (16:52 +0000)]
Comments here, too

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

17 years agoAdd comment to what the table here is for
brain [Tue, 5 Jun 2007 16:50:23 +0000 (16:50 +0000)]
Add comment to what the table here is for

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

17 years agoRefactored InspIRCd::Duration(). The leetcode now lives!
brain [Tue, 5 Jun 2007 16:49:06 +0000 (16:49 +0000)]
Refactored InspIRCd::Duration(). The leetcode now lives!

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

17 years agoConfigure ldlibs patch by djGrrr
brain [Tue, 5 Jun 2007 16:10:28 +0000 (16:10 +0000)]
Configure ldlibs patch by djGrrr

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

17 years agoStdint being included when we dont even use it, without checking HAS_STDINT, thanks...
brain [Tue, 5 Jun 2007 16:08:44 +0000 (16:08 +0000)]
Stdint being included when we dont even use it, without checking HAS_STDINT, thanks djGrrr

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

17 years agoFix typos found by Zaba. Thanks.
peavey [Tue, 5 Jun 2007 07:49:33 +0000 (07:49 +0000)]
Fix typos found by Zaba. Thanks.

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

17 years agoIf the whowas maps really do fail, log it as default and not debug.
peavey [Tue, 5 Jun 2007 07:31:26 +0000 (07:31 +0000)]
If the whowas maps really do fail, log it as default and not debug.

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

17 years agoAdd options:moronbanner. Yes really, thats what its called. See the example config.
brain [Mon, 4 Jun 2007 19:10:25 +0000 (19:10 +0000)]
Add options:moronbanner. Yes really, thats what its called. See the example config.

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

17 years agoFix windows issue locating some files relative to the conf dir (namely motd, rules...
brain [Mon, 4 Jun 2007 18:39:22 +0000 (18:39 +0000)]
Fix windows issue locating some files relative to the conf dir (namely motd, rules, quotes), See: http://www.inspircd.org/forum/showthread.php?t=989&page=2

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

17 years agoExcess flood tidyups
brain [Mon, 4 Jun 2007 17:31:31 +0000 (17:31 +0000)]
Excess flood tidyups

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

17 years agoThe recvq > netbuffersize check isnt needed *at all* as we check recvq > recvqmax...
brain [Mon, 4 Jun 2007 16:44:58 +0000 (16:44 +0000)]
The recvq > netbuffersize check isnt needed *at all* as we check recvq > recvqmax in userrec::AddBuffer called just above it.

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

17 years agoMake nt the default channelmode if <options:defaultmodes> is not present.
peavey [Sun, 3 Jun 2007 19:54:56 +0000 (19:54 +0000)]
Make nt the default channelmode if <options:defaultmodes> is not present.

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

17 years agoUpdate example conf for recent changes to module m_hostchange.
peavey [Sun, 3 Jun 2007 16:50:48 +0000 (16:50 +0000)]
Update example conf for recent changes to module m_hostchange.

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

17 years agoMany changes: Implement Muisje's idea for prefix + separator on action addnick. Switc...
peavey [Sun, 3 Jun 2007 16:15:43 +0000 (16:15 +0000)]
Many changes: Implement Muisje's idea for prefix + separator on action addnick. Switch to empty() checks on strings. Cleanup mem on module unload. Tidyup conf reading.

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

17 years agoProbably fix 2nd compile issue on RH7 and add some checks which *should* ensure none...
om [Sun, 3 Jun 2007 10:42:08 +0000 (10:42 +0000)]
Probably fix 2nd compile issue on RH7 and add some checks which *should* ensure none of this can break anything else

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

17 years agoAnd a minor cleanup of the /stats z code. Nothing spectacular..
om [Sun, 3 Jun 2007 09:44:21 +0000 (09:44 +0000)]
And a minor cleanup of the /stats z code. Nothing spectacular..

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

17 years agoPossible fix for compile issue on some distributions. Then again there was probably...
om [Sun, 3 Jun 2007 09:27:38 +0000 (09:27 +0000)]
Possible fix for compile issue on some distributions. Then again there was probably a reason we weren't doing this before...

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

17 years agoBack out the tweaks i made here, keep only the clear screen stuff
brain [Sat, 2 Jun 2007 23:44:56 +0000 (23:44 +0000)]
Back out the tweaks i made here, keep only the clear screen stuff

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

17 years agoChange the behaviour of insp in windows to keep its window open, with some status...
brain [Sat, 2 Jun 2007 22:21:55 +0000 (22:21 +0000)]
Change the behaviour of insp in windows to keep its window open, with some status text in the title bar. It also clears the screen now on startup, see the wrapper for what a nasty amount of code it is to do such a simple thing to a windows console :(
Also, add somewhat of a hack to cut down on allocation time taken to map windows fd to a posix style fd in iocp engine.

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

17 years agoAdd console mode patches from burlex, thanks
brain [Sat, 2 Jun 2007 20:21:15 +0000 (20:21 +0000)]
Add console mode patches from burlex, thanks

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

17 years agoChange configure to generate .mak files with warning level 2.
brain [Sat, 2 Jun 2007 18:42:22 +0000 (18:42 +0000)]
Change configure to generate .mak files with warning level 2.
Change project files to warning level 2.

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

17 years agoAnd make it compile.
brain [Sat, 2 Jun 2007 16:12:03 +0000 (16:12 +0000)]
And make it compile.

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

17 years agoChdir to bin dir on starting, allows relative paths to the bin dir to always work...
brain [Sat, 2 Jun 2007 16:11:34 +0000 (16:11 +0000)]
Chdir to bin dir on starting, allows relative paths to the bin dir to always work even when we're not started from our dir

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

17 years agoAdd comments
brain [Sat, 2 Jun 2007 15:05:49 +0000 (15:05 +0000)]
Add comments

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

17 years agoThe code to work out the path seems to work fine now on freebsd and linux, still...
brain [Sat, 2 Jun 2007 14:38:45 +0000 (14:38 +0000)]
The code to work out the path seems to work fine now on freebsd and linux, still to test on win

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

17 years agoDebug to troubleshoot why this writes the log to the current dir in bsd, not the...
brain [Sat, 2 Jun 2007 13:45:39 +0000 (13:45 +0000)]
Debug to troubleshoot why this writes the log to the current dir in bsd, not the bin dir where it should

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

17 years agoSpecific windows code for getting the full path to the exe
brain [Sat, 2 Jun 2007 13:42:55 +0000 (13:42 +0000)]
Specific windows code for getting the full path to the exe

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

17 years agoand a little tweak to remote MOTD too.
peavey [Sat, 2 Jun 2007 01:58:41 +0000 (01:58 +0000)]
and a little tweak to remote MOTD too.

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

17 years agosame for admin, and fix some returns.
peavey [Sat, 2 Jun 2007 01:50:27 +0000 (01:50 +0000)]
same for admin, and fix some returns.

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

17 years agoFix for bug #297. /MODULES now correctly finds remote server on wildcard. Marked...
peavey [Sat, 2 Jun 2007 01:32:59 +0000 (01:32 +0000)]
Fix for bug #297. /MODULES now correctly finds remote server on wildcard. Marked for QA.

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

17 years agore-apply ipv6 ifdef tidyup that got pulled in last revert.
peavey [Fri, 1 Jun 2007 23:00:18 +0000 (23:00 +0000)]
re-apply ipv6 ifdef tidyup that got pulled in last revert.

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

17 years agorevert multiaccept for now until we can fix it for win.
peavey [Fri, 1 Jun 2007 22:50:17 +0000 (22:50 +0000)]
revert multiaccept for now until we can fix it for win.

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

17 years agoWIN: As promised when I took it out, whowas stats in /STATS z is now working due...
peavey [Fri, 1 Jun 2007 22:34:16 +0000 (22:34 +0000)]
WIN: As promised when I took it out, whowas stats in /STATS z is now working due to fix in r7201.

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

17 years agoFix re-generation of 005 on rehash
brain [Fri, 1 Jun 2007 21:43:41 +0000 (21:43 +0000)]
Fix re-generation of 005 on rehash

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

17 years agoMake valgrind happy and not leak mem.
peavey [Fri, 1 Jun 2007 20:31:29 +0000 (20:31 +0000)]
Make valgrind happy and not leak mem.

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

17 years agoNo fucking point at all checking for CC_DENY twice. \o/.
w00t [Fri, 1 Jun 2007 18:53:01 +0000 (18:53 +0000)]
No fucking point at all checking for CC_DENY twice. \o/.

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

17 years agoWe can make one saving in userrec::WriteWallOps though - we are checking IS_LOCAL...
brain [Fri, 1 Jun 2007 18:49:01 +0000 (18:49 +0000)]
We can make one saving in userrec::WriteWallOps though - we are checking IS_LOCAL inside the loop, we've had a seprate local only user list for god knows how long, we know the users in it are local.

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

17 years agoThis is a better fix, as it calls the mode handler giving the modules etc chance...
brain [Fri, 1 Jun 2007 16:55:00 +0000 (16:55 +0000)]
This is a better fix, as it calls the mode handler giving the modules etc chance to allocate structs

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

17 years agoFix bug found by indigophone where +lk cant be set in defaultmodes
brain [Fri, 1 Jun 2007 16:42:59 +0000 (16:42 +0000)]
Fix bug found by indigophone where +lk cant be set in defaultmodes

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

17 years agoFix USERHOST, thanks click and HiroP
w00t [Fri, 1 Jun 2007 14:39:15 +0000 (14:39 +0000)]
Fix USERHOST, thanks click and HiroP

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

17 years agoDetect BRAINDEAD WINDOWS EDITORS THAT DEFAULT TO SAVING AS UTF-16! When we find out...
brain [Thu, 31 May 2007 20:12:05 +0000 (20:12 +0000)]
Detect BRAINDEAD WINDOWS EDITORS THAT DEFAULT TO SAVING AS UTF-16! When we find out which editor did this, we'll use our retractable baton to teach it the true meaning of portable data.

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

17 years agoAnd remove soem debug
brain [Thu, 31 May 2007 17:43:41 +0000 (17:43 +0000)]
And remove soem debug

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

17 years agoFix for issue discovered by satmd where it is possible to send an empty string via...
brain [Thu, 31 May 2007 17:43:23 +0000 (17:43 +0000)]
Fix for issue discovered by satmd where it is possible to send an empty string via privmsg or notice to a user target, against the RFC standard. Remote servers don't like this much.
Also fix: NOTICE generates OnUserNotice event, but checks against the I_OnUserMessage hook.
Also also fix (!): Missing colons in "no text to send" message.
BOTH of these also fixes have been around since like, 1.0 alpha 1, and nobody's noticed them!

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

17 years agoFix bug #310 reported by Smartys, and optimize mode.cpp a bit (was using string compa...
brain [Wed, 30 May 2007 19:41:48 +0000 (19:41 +0000)]
Fix bug #310 reported by Smartys, and optimize mode.cpp a bit (was using string comparison to identify an empty string, e.g. somestr == "", when we can use the much faster somestr.empty())

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

17 years agoApply ipv6 #ifdef tidyup patch from djGrrr, thanks :)
brain [Wed, 30 May 2007 17:37:13 +0000 (17:37 +0000)]
Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)

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

17 years agoFix bug #309 reported by Smartys - QA, please test quickly. Seems okay to me.
w00t [Tue, 29 May 2007 21:51:34 +0000 (21:51 +0000)]
Fix bug #309 reported by Smartys - QA, please test quickly. Seems okay to me.

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

17 years agoAdd m_check to example configuration, thanks Potter
w00t [Tue, 29 May 2007 20:44:01 +0000 (20:44 +0000)]
Add m_check to example configuration, thanks Potter

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

17 years agoRemove m_conn_lusers from the example conf, fixes bug 308, thanks Smartys
w00t [Tue, 29 May 2007 20:39:04 +0000 (20:39 +0000)]
Remove m_conn_lusers from the example conf, fixes bug 308, thanks Smartys

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

17 years agoUpdate this example conf
brain [Tue, 29 May 2007 17:53:23 +0000 (17:53 +0000)]
Update this example conf

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

17 years agoAll the other socketengines have a 1s wait on their 'poll' equivalent. GetQueuedCompl...
brain [Tue, 29 May 2007 16:52:56 +0000 (16:52 +0000)]
All the other socketengines have a 1s wait on their 'poll' equivalent. GetQueuedCompletionStatus had a delay of 100ms. Upped to 1s to be more sane and more in line with the other socket engines.

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

17 years agoMetaphorically add a metaphorical comment to the metaphorical code. Thank god its...
brain [Tue, 29 May 2007 16:37:13 +0000 (16:37 +0000)]
Metaphorically add a metaphorical comment to the metaphorical code. Thank god its not metadata.

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

17 years agoCommit multiaccept diff by myself to speed up large numbers of connections.
w00t [Tue, 29 May 2007 16:35:18 +0000 (16:35 +0000)]
Commit multiaccept diff by myself to speed up large numbers of connections.

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

17 years agoNo flags now means all flags when in the config, so that filters defined in older...
brain [Mon, 28 May 2007 23:12:01 +0000 (23:12 +0000)]
No flags now means all flags when in the config, so that filters defined in older configs are forwards compatible

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

17 years agoThis works now! Still more to do though.
brain [Mon, 28 May 2007 22:51:56 +0000 (22:51 +0000)]
This works now! Still more to do though.

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

17 years agoMake the flags work
brain [Mon, 28 May 2007 22:42:33 +0000 (22:42 +0000)]
Make the flags work

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

17 years agoNext bit of filter flags system
brain [Mon, 28 May 2007 22:28:13 +0000 (22:28 +0000)]
Next bit of filter flags system

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

17 years agoStuff for flags as requested by djGrr. We aren't going all-out rediculous amount...
brain [Mon, 28 May 2007 22:19:26 +0000 (22:19 +0000)]
Stuff for flags as requested by djGrr. We aren't going all-out rediculous amount of flags on this, we're sticking with the 5 or 6 easy to remember and lumping oper-immunity into the flags (see forums)

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

17 years agoA flags section for filters. Do not use yet.
brain [Mon, 28 May 2007 20:30:51 +0000 (20:30 +0000)]
A flags section for filters. Do not use yet.

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

17 years agoipv6 ifdef tidyup by djGrrr, thanks :)
brain [Mon, 28 May 2007 18:52:55 +0000 (18:52 +0000)]
ipv6 ifdef tidyup by djGrrr, thanks :)

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

17 years agoDisplay the proper transports for server ports *slap* :P
brain [Mon, 28 May 2007 15:42:33 +0000 (15:42 +0000)]
Display the proper transports for server ports *slap* :P

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

17 years agoRemove code for clientcount/servercount from /stats p. At the moment it was slow...
w00t [Mon, 28 May 2007 15:22:31 +0000 (15:22 +0000)]
Remove code for clientcount/servercount from /stats p. At the moment it was slow, hacky and doesn't totally work properly (bind 2 same ports on diff. ips and watch it get confused ;p). It may be added back in a few versions once we have the infrastructure in place to tie a list of clients to a port.

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

17 years agoShow IPs that a port is bound to in /stats p, don't remove duplicate ports anymore...
w00t [Mon, 28 May 2007 15:03:52 +0000 (15:03 +0000)]
Show IPs that a port is bound to in /stats p, don't remove duplicate ports anymore, since we know what IP a port belongs to.

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