summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-26- Fix some win32 warnings in a way that won't crash gcc compiles (I thought ↵w00t
I fixed this) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Choose the correct defines so that its not built too lean to compilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7142 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Tidy up to coding stylebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7139 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Fix for bug #302. He may not have had any connect lines in his conf but it ↵brain
needed addressing anyway, because a bad rehash could leave the ircd in this state and it should just turn users away, not crash. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7138 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25DIE. DIE YOU FUCKING ASSHAT OF A BUG.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7137 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Fix for bug #303 reported by HiroP, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7136 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Initial fix wasnt working, and was a mess. Lets try this again.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7135 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Fix for /list glob bug in core LIST reported by HiroP, bug #304brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7134 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25Don't allow SVSHOLD from a non-ulined client. Thanks click.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7133 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24Propagate the gunloadmodule command even if the module isn't loaded locally; ↵special
bug #299 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7132 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24Somehow, the code which does the "assumption" that no prefix means 'that' ↵brain
server's name, got removed or broken. I've put it back, this would explain the commands with empty prefixes being echoed back during that java stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7131 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24Make kill hiding work properly locallybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7130 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-23Commit patch by IronLegend, thanks :) -- Fixes bug #298brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7125 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-23One more with redundant ref to instance. I think this is the last one.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7124 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Module class has a member ServerInstance, so remove any extra refs still ↵peavey
lingering in a few modules. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7123 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22take out whowas stats from stats z until I figure out how to fix it.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7122 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22- Fix two minor warnings here (catch (ModuleException& e) -> catch ↵w00t
(ModuleException), as we're not actually using e). Noted on w32, compiles ok, stab me if it breaks linux (I don't think it will.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7121 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Bloody 'safe stl' warnings.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7120 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Add comments as to what its doingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7117 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Code to find nameservers in the windows registry - largely untestedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7113 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Someone forgot the blindingly obvious - APPLY the glines/zlines you add! ↵brain
they dont apply themselves :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7112 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22This says ten minutes drift and should say five, fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7106 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Squash unused var errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7103 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Remove warning in gcc this timebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7102 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21I think this was the source of burlex's confusion with the spanningtree ↵brain
propogation bug and a warning in vc8 -- CallCommandHandler returned BOOL?! Yet its casting that bool somehow from a CmdResult. It should be CmdResult. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7101 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21In this module we declare the md5 context as a class, then reference it in ↵brain
functions as struct MD5Context*. Not only does this make little sense readability wise, it triggers a warning in vs8. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7100 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Move inspircd.h to topbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7099 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵brain
stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Reorder inspircd.h header to topbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7097 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21All non-commands part of the core are now warning clean on vs8brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7096 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Same tweak, againbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7095 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21It seems that making inspircd.h the first include in .cpp files eliminates ↵brain
the warning C4996, as the defines to prevent it are set before any includes that cause it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7094 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Reorder includes, dont worry there is method to my madness (i hope)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7093 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Reverted broken patch.. This may break, but it's unlikely :pfrostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7090 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20- Comment on the ifdef in here, to avoid people (like myself) going 'what ↵w00t
the fuck'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7081 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20Crash on restart in win32 fixed.brain
This means that the restart button in the gui, and /restart, both work now. Note, there are other bugs with the gui's restart button, the 'auto restart on crash' tries to boot the ircd! Dont use it! :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7075 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20try...catch around the map::insert in AddFd, for some reason it throws ↵brain
sometimes. If it does, we return false, which the core can handle neatly as 'failed to add fd' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7065 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20Remove asserts and convert to unix line endingsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7064 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20- Modify ServerConfig::GetFullProgDir to just return cwd, previously it did ↵w00t
a lot of voodoo that was a little hard to grasp, probably didn't quite accomplish what it should have, and broke on windows. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7063 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20Windows path seperator is \, this was assuming /. Fixed.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7062 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20- Fix a small warning thrown by cl about unused local.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7061 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20Prevent vc8 from thinking we're dereferencing an end iteratorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7059 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-20Send CHANMODES= and PREFIX= in CAPAB CAPABILITIES.brain
Sorry, if you encounter a server < 1.1.8, youll have to guess by module name. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7055 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Fix (tested) for failing dlsym on win32brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7051 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Fix std::sort stuff for w00tbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7050 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19SPACE INDENTING ACTION RANGERS -- ATTACK!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7048 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Visual studio's ability to translate tabs to four spaces as default ↵brain
frustrates and peplexes tabnazi cat. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Helps if I add the w32 specific code, too. :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7044 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Windows support. Tested and working to compile on freebsd and linux. Next ↵w00t
step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-18Fixed a fairly low-risk crash in m_spanningtreespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7042 e03df62e-2008-0410-955e-edbf42e46eb7