summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-02Change configure to generate .mak files with warning level 2.brain
Change project files to warning level 2. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7215 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-02Add commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7212 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-29Add m_check to example configuration, thanks Potterw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7188 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29Remove m_conn_lusers from the example conf, fixes bug 308, thanks Smartysw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7187 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-29Update this example confbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7186 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
2007-05-28Don't return CMD_SUCCESS. This command shouldn't go out on the wire.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7172 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28- Add fix for /stats p support (this->port was not being set for listening ↵w00t
inspsockets, thanks peavey). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7171 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28- Add server ports to /stats p. This doesn't work properly yet as something ↵w00t
is not initialising port correctly in a constructor I'd guess. It also does not enumerate connected servers to see how many connected on a given listener yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7170 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27Add m_cycle to example configurationw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7169 e03df62e-2008-0410-955e-edbf42e46eb7