6132 Commits

Author SHA1 Message Date
w00t
890e00d595 Enable SNOMASK 'K' (remote kill), and use it in cmd_kill. This has the side 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 21:53:28 +00:00
burlex
7cca9f5d93 - Eek, gotta make it look the same as *nix! Windows will now print the 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 21:44:30 +00:00
burlex
07120e5d4e - Whoops.. forgot a return here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7258 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08 21:37:30 +00:00
burlex
9ffa5e97fe * Changed forking code, now the parent will attempt to retrieve the exit 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 21:35:14 +00:00
burlex
888778c5fa * Fixed VC8 m_spanningtree project file. second commit?! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7256 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08 21:20:43 +00:00
burlex
548162d094 + Added an *almost* unix-like fork system for windows. Insp will create a 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-08 21:17:17 +00:00
w00t
69d081ad2b Add Burlex to developers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7254 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08 16:42:04 +00:00
w00t
d5d025ad7c Make this message slightly more meaningful, as discussed in .coders a while back
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7252 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-08 09:57:20 +00:00
peavey
8509446891 Add command /RSQUIT to spanningtree.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7251 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-07 20:54:06 +00:00
brain
4eaa390776 Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06 20:51:29 +00:00
brain
7fb9621053 Add back remote kill handler for server origin kills
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7249 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06 17:22:44 +00:00
w00t
315c7e7484 Patch fixing (almost) remote kill server notices, by just passing KILL onto 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-06 14:43:25 +00:00
w00t
dabc065879 Be a little nicer.. this die error is funny, but confusing (got me once too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7247 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-06 11:38:53 +00:00
brain
2885e18dcb Same here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7246 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:40:33 +00:00
brain
f65debb46e Same here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7245 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:39:22 +00:00
brain
738cde7f2a Minor url tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7244 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:36:59 +00:00
brain
41b1c64889 Update ancient copyright header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7243 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:36:18 +00:00
w00t
80fceca516 List developer arguments (debug, screendebug etc) so they don't need to be looked up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7242 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:34:17 +00:00
brain
c2993f666f Sexeger!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 17:39:36 +00:00
brain
d2717df5ef InspIRCd: Now with even MORE leet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7240 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 17:25:41 +00:00
brain
adf372651c Comments here, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7239 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:52:24 +00:00
brain
4381bb63f5 Add comment to what the table here is for
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7238 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:50:23 +00:00
brain
d396355d3e Refactored InspIRCd::Duration(). The leetcode now lives!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:49:06 +00:00
brain
1b93cf63e3 Configure ldlibs patch by djGrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7236 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:10:28 +00:00
brain
78f98065d5 Stdint being included when we dont even use it, without checking HAS_STDINT, thanks djGrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7235 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:08:44 +00:00
peavey
234c7cd851 Fix typos found by Zaba. Thanks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 07:49:33 +00:00
peavey
7cbbb97f42 If the whowas maps really do fail, log it as default and not debug.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7233 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 07:31:26 +00:00
brain
ef048989f8 Add options:moronbanner. Yes really, thats what its called. See the example config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 19:10:25 +00:00
brain
ae26712ee7 Fix windows issue locating some files relative to the conf dir (namely motd, 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-04 18:39:22 +00:00
brain
75f82deb87 Excess flood tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7230 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 17:31:31 +00:00
brain
01a726e7a3 The recvq > netbuffersize check isnt needed *at all* as we check recvq > 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-04 16:44:58 +00:00
peavey
59d126a3a7 Make nt the default channelmode if <options:defaultmodes> is not present.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7228 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 19:54:56 +00:00
peavey
f8e16764b7 Update example conf for recent changes to module m_hostchange.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7227 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 16:50:48 +00:00
peavey
b54eb58a49 Many changes: Implement Muisje's idea for prefix + separator on action 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-03 16:15:43 +00:00
om
461839e0f9 Probably fix 2nd compile issue on RH7 and add some checks which *should* 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-03 10:42:08 +00:00
om
afc03e1287 And a minor cleanup of the /stats z code. Nothing spectacular..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7222 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-03 09:44:21 +00:00
om
8f9c862b01 Possible fix for compile issue on some distributions. Then again there was 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-03 09:27:38 +00:00
brain
3c19bd7b66 Back out the tweaks i made here, keep only the clear screen stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7218 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 23:44:56 +00:00
brain
6cf3fc6b36 Change the behaviour of insp in windows to keep its window open, with some 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-02 22:21:55 +00:00
brain
433837b847 Add console mode patches from burlex, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7216 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 20:21:15 +00:00
brain
27d5e0aa06 Change configure to generate .mak files with warning level 2.
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-02 18:42:22 +00:00
brain
0d5473ee3a And make it compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7214 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 16:12:03 +00:00
brain
1badc2dd1f Chdir to bin dir on starting, allows relative paths to the bin dir to always 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-02 16:11:34 +00:00
brain
72948525ec Add comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7212 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 15:05:49 +00:00
brain
115c025e67 The code to work out the path seems to work fine now on freebsd and linux, still to test on win
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7211 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 14:38:45 +00:00
brain
0c73dcfdb1 Debug to troubleshoot why this writes the log to the current dir in bsd, not the bin dir where it should
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7210 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 13:45:39 +00:00
brain
920f61414e Specific windows code for getting the full path to the exe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7209 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 13:42:55 +00:00
peavey
eb334f8c69 and a little tweak to remote MOTD too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7208 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 01:58:41 +00:00
peavey
73bd4d4240 same for admin, and fix some returns.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7207 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 01:50:27 +00:00
peavey
e6ce64246b Fix for bug #297. /MODULES now correctly finds remote server on wildcard. Marked for QA.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 01:32:59 +00:00