summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-06-13* Fixed IOCPEngine under x64 (because of incorrect pointer sizes)burlex
- Fixed configure / VC8 projects for x64 compiling. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7293 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Remove remote SQUIT hacks.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7292 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Make this require 2 params, just like god intended it. (no remote squit hacks)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7291 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Add DllExportbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7289 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Make these safe for use in vcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7288 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13new rsquit command handler, this is still work in progress.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7286 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13strip RSQUIT from protocol, part of new RSQUIT, not ready for use yet.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7285 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13I think this fixes visual studio odditiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7284 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13Fixes for tokenization oddness with metadata, and weird behaviour of ↵brain
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
2007-06-12Fix advertising of +h/% in 005 and 004 numerics when halfops are not enabled ↵brain
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
2007-06-11Whoops, that was silly, the double print thing wont compile for any other OS ↵brain
but windows! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7279 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Fix double printing of 'setting log file' and 'setting config file' paths.brain
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
2007-06-11We need to pass a copy of GetCommandLine() not the actual return pointer.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7277 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Tweak some tabular declarations to look correct on 8-width tabsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7276 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Woo, fixed the bug, win2k doesnt like the AUTHZ_LEVEL stuff :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7275 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11Fixed commandline stuff for CreateProcess, but it looks like win2k doesnt ↵brain
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
2007-06-11* Changes to userprocess functions to allow flood limit removal by m_operflood.burlex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7273 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11- Added more debug output to windows fork in order to help debug problems ↵burlex
encountered. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7270 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-11The spelling nazis are amongst us!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7268 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09- Removed un-needed event create at windows fork.burlex
* 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
2007-06-09Fixed issue preventing startup without --nofork under win32frostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7265 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09A ton more clear() and empty() stuff thats been lingering on the long term ↵brain
todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09Change some = "" to clear() and some == "" to .empty()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-09Note to devs: We should be using std::string::clear() to empty a ↵brain
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
2007-06-08- Enabled minimal rebuild on all VS project files, this will reduce build ↵burlex
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
2007-06-08Enable SNOMASK 'K' (remote kill), and use it in cmd_kill. This has the side ↵w00t
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
2007-06-08- Eek, gotta make it look the same as *nix! Windows will now print the ↵burlex
process id of the new "forked" process. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7259 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08- Whoops.. forgot a return here.burlex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7258 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08* Changed forking code, now the parent will attempt to retrieve the exit ↵burlex
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
2007-06-08+ Added an *almost* unix-like fork system for windows. Insp will create a ↵burlex
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
2007-06-08Add Burlex to developersw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7254 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08Make this message slightly more meaningful, as discussed in .coders a while backw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7252 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-07Add command /RSQUIT to spanningtree.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7251 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06Add back remote kill handler for server origin killsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06Patch fixing (almost) remote kill server notices, by just passing KILL onto ↵w00t
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
2007-06-05Sexeger!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05InspIRCd: Now with even MORE leet.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7240 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Comments here, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7239 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Refactored InspIRCd::Duration(). The leetcode now lives!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Stdint being included when we dont even use it, without checking HAS_STDINT, ↵brain
thanks djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7235 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Fix typos found by Zaba. Thanks.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05If the whowas maps really do fail, log it as default and not debug.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7233 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04Add options:moronbanner. Yes really, thats what its called. See the example ↵brain
config. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04Fix windows issue locating some files relative to the conf dir (namely motd, ↵brain
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
2007-06-04Excess flood tidyupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7230 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04The recvq > netbuffersize check isnt needed *at all* as we check recvq > ↵brain
recvqmax in userrec::AddBuffer called just above it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7229 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03Make nt the default channelmode if <options:defaultmodes> is not present.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7228 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03Many changes: Implement Muisje's idea for prefix + separator on action ↵peavey
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
2007-06-03Probably fix 2nd compile issue on RH7 and add some checks which *should* ↵om
ensure none of this can break anything else git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7223 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03And a minor cleanup of the /stats z code. Nothing spectacular..om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7222 e03df62e-2008-0410-955e-edbf42e46eb7