summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2007-06-03Possible fix for compile issue on some distributions. Then again there was ↵om
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
2007-06-02Back out the tweaks i made here, keep only the clear screen stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7218 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Change the behaviour of insp in windows to keep its window open, with some ↵brain
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
2007-06-02Add console mode patches from burlex, thanksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7216 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02And make it compile.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7214 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Chdir to bin dir on starting, allows relative paths to the bin dir to always ↵brain
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
2007-06-02The code to work out the path seems to work fine now on freebsd and linux, ↵brain
still to test on win git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7211 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Debug to troubleshoot why this writes the log to the current dir in bsd, not ↵brain
the bin dir where it should git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7210 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Specific windows code for getting the full path to the exebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7209 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02and a little tweak to remote MOTD too.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02same for admin, and fix some returns.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02Fix for bug #297. /MODULES now correctly finds remote server on wildcard. ↵peavey
Marked for QA. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01re-apply ipv6 ifdef tidyup that got pulled in last revert.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01revert multiaccept for now until we can fix it for win.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01WIN: As promised when I took it out, whowas stats in /STATS z is now working ↵peavey
due to fix in r7201. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01Fix re-generation of 005 on rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7202 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01Make valgrind happy and not leak mem.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01No fucking point at all checking for CC_DENY twice. \o/.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7200 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01We can make one saving in userrec::WriteWallOps though - we are checking ↵brain
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
2007-06-01This is a better fix, as it calls the mode handler giving the modules etc ↵brain
chance to allocate structs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7198 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01Fix bug found by indigophone where +lk cant be set in defaultmodesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7197 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01Fix USERHOST, thanks click and HiroPw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7196 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31Detect BRAINDEAD WINDOWS EDITORS THAT DEFAULT TO SAVING AS UTF-16! When we ↵brain
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
2007-05-31And remove soem debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7193 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-31Fix for issue discovered by satmd where it is possible to send an empty ↵brain
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
2007-05-30Fix bug #310 reported by Smartys, and optimize mode.cpp a bit (was using ↵brain
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
2007-05-30Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29Fix bug #309 reported by Smartys - QA, please test quickly. Seems okay to me.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7189 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29All the other socketengines have a 1s wait on their 'poll' equivalent. ↵brain
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
2007-05-29Metaphorically add a metaphorical comment to the metaphorical code. Thank ↵brain
god its not metadata. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7184 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29Commit multiaccept diff by myself to speed up large numbers of connections.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7183 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28No flags now means all flags when in the config, so that filters defined in ↵brain
older configs are forwards compatible git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7182 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28This works now! Still more to do though.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7181 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Make the flags workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7180 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Next bit of filter flags systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7179 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Stuff for flags as requested by djGrr. We aren't going all-out rediculous ↵brain
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
2007-05-28A flags section for filters. Do not use yet.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7177 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28ipv6 ifdef tidyup by djGrrr, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7176 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Display the proper transports for server ports *slap* :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7175 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28Remove code for clientcount/servercount from /stats p. At the moment it was ↵w00t
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
2007-05-28Show IPs that a port is bound to in /stats p, don't remove duplicate ports ↵w00t
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