]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoAnd get it right.
brain [Wed, 13 Jun 2007 21:28:29 +0000 (21:28 +0000)]
And get it right.

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

17 years agoUpdate descriptions
brain [Wed, 13 Jun 2007 21:27:51 +0000 (21:27 +0000)]
Update descriptions

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

17 years agoBeing as people while about the odd kludge here and there im going to spend my time...
brain [Wed, 13 Jun 2007 21:21:43 +0000 (21:21 +0000)]
Being as people while about the odd kludge here and there im going to spend my time on fruitless stuff :P

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

17 years agoNasty kludge to allow for optional install of ssl:
brain [Wed, 13 Jun 2007 21:08:56 +0000 (21:08 +0000)]
Nasty kludge to allow for optional install of ssl:
If the user doesnt have the ssl box ticked, the ssl modules are installed but immediately deleted by the installer, and the gnutls dlls are not installed.
If the user does have the box ticked (default) the ssl section immediately puts the ssl modules back again, and then installs the gnutls libs (ick)

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

17 years ago* Fixed IOCPEngine under x64 (because of incorrect pointer sizes)
burlex [Wed, 13 Jun 2007 20:58:51 +0000 (20:58 +0000)]
* Fixed IOCPEngine under x64 (because of incorrect pointer sizes)
- Fixed configure / VC8 projects for x64 compiling.

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

17 years agoRemove remote SQUIT hacks.
peavey [Wed, 13 Jun 2007 20:45:40 +0000 (20:45 +0000)]
Remove remote SQUIT hacks.

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

17 years agoMake this require 2 params, just like god intended it. (no remote squit hacks)
peavey [Wed, 13 Jun 2007 20:39:46 +0000 (20:39 +0000)]
Make this require 2 params, just like god intended it. (no remote squit hacks)

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

17 years ago- Fixed configure script to allow gnutls compilation under win32.
burlex [Wed, 13 Jun 2007 20:15:15 +0000 (20:15 +0000)]
- Fixed configure script to allow gnutls compilation under win32.

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

17 years agoAdd DllExport
brain [Wed, 13 Jun 2007 20:00:33 +0000 (20:00 +0000)]
Add DllExport

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

17 years agoMake these safe for use in vc
brain [Wed, 13 Jun 2007 19:57:20 +0000 (19:57 +0000)]
Make these safe for use in vc

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

17 years ago+ Added x64 solutions for VC2005, for future work. This does not under any circumstan...
burlex [Wed, 13 Jun 2007 19:33:50 +0000 (19:33 +0000)]
+ Added x64 solutions for VC2005, for future work. This does not under any circumstances mean it will even compile work properly yet.

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

17 years agonew rsquit command handler, this is still work in progress.
peavey [Wed, 13 Jun 2007 19:30:34 +0000 (19:30 +0000)]
new rsquit command handler, this is still work in progress.

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

17 years agostrip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.
peavey [Wed, 13 Jun 2007 19:28:13 +0000 (19:28 +0000)]
strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.

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

17 years agoI think this fixes visual studio oddities
brain [Wed, 13 Jun 2007 19:17:14 +0000 (19:17 +0000)]
I think this fixes visual studio oddities

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

17 years agoFixes for tokenization oddness with metadata, and weird behaviour of std::istringstre...
brain [Wed, 13 Jun 2007 18:12:04 +0000 (18:12 +0000)]
Fixes for tokenization oddness with metadata, and weird behaviour of std::istringstream where the .str() method returns the whole string from the start to end, even AFTER youve read elements from it!
Use irc::tokenstream instead and add some overridden methods to it. This is smarter as it reuses code and allows us to format metadata the same way we format irc data.
NOTE: If you run any old servers alongside new servers (this revision) you might see spurious colons on the start of reasons for svsholds, cbans and filters. These can safely be ignored)

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

17 years agoFix advertising of +h/% in 005 and 004 numerics when halfops are not enabled in the...
brain [Tue, 12 Jun 2007 16:30:32 +0000 (16:30 +0000)]
Fix advertising of +h/% in 005 and 004 numerics when halfops are not enabled in the conf, spotted by Smartys, fixes bug #322

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

17 years agoUpstream patch from <mm@freebsd.org>
brain [Tue, 12 Jun 2007 16:23:32 +0000 (16:23 +0000)]
Upstream patch from <mm@freebsd.org>

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

17 years agoThis breaks stuff. We can't use it.
brain [Mon, 11 Jun 2007 23:14:44 +0000 (23:14 +0000)]
This breaks stuff. We can't use it.

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

17 years agoWhoops, that was silly, the double print thing wont compile for any other OS but...
brain [Mon, 11 Jun 2007 22:58:09 +0000 (22:58 +0000)]
Whoops, that was silly, the double print thing wont compile for any other OS but windows!

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

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