summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2007-05-18m_censor can now block lines as well, by specifying an empty replace string ↵special
(QA, test please, my dev server seems to be broken :P) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7041 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-17Fix broken return statements preventing blockchat and blocked files to be ↵brain
used individually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7040 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-17Change the way i/o lines are formatted in debug log to make them more ↵brain
intuitive. Now includes a C or S to say if its client or server, plus the fd: Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Add a progress meter for loading of core commands, fix broken implementation ↵brain
for <disabled commands> with a module command, as discovered by Casey in bug #293 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7038 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16This is funny, in m_md5 we have an ancient comment from w00t that i forgot ↵brain
to remove that says "maybe this md5 stuff would be better in a dedicated md5 module". LOL. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7037 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16We announce a ping timeout THREE different times and ways on the server that ↵brain
sent the ping. this is excessive. Remove the announcement in DoPingChecks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7036 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16And fix another booboobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7035 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Add a notice on connection close stating server link uptime, and fix a bug ↵brain
in m_opermodes which meant that its modes werent being replicated across servers (it was sending a totally malformed MODE command with the nick in twice, and has been doing this presumably since early 1.1's) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7034 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Tidy logic a little in here, and support <options:exemptchanops>w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7033 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16Opers are not exempt from other modes, don't exempt them from +N (we may add ↵w00t
this back post 1.1.8 as a config setting) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7031 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-16While rolling our own IS_LOCAL check with irc::string comparison is clever ↵w00t
(TM), it does seem a little redundant :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7030 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15Rather largeish change to class checking on connect to fix a few minor bits ↵w00t
and bobs here and there git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7029 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15Add cmd_reloadmodule.{h,cpp} contributed by Eric at neowin.net, thanks :)brain
Someone forgot to increase the release years of all the headers in include/commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7028 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-15Slight security fix of sortsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7027 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-14More tweaks from Eric, when an oper is invisible, attempting to /notice or ↵brain
/privmsg them returns 'no such nick' :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7026 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-14Added patch from Eric at neowin.net so that opers are still visible ↵brain
joining/parting to other opers (They should have been anyway, but it was broken) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7025 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-14Someone forgot the ELIST token (his nick begins with B)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7024 e03df62e-2008-0410-955e-edbf42e46eb7