6060 Commits

Author SHA1 Message Date
brain
c166f246f8 No flags now means all flags when in the config, so that filters defined in older configs are forwards compatible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7182 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 23:12:01 +00:00
brain
516655d85f This works now! Still more to do though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7181 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 22:51:56 +00:00
brain
82a62fd8cb Make the flags work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7180 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 22:42:33 +00:00
brain
ccbf152ca4 Next bit of filter flags system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7179 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 22:28:13 +00:00
brain
5183b9b820 Stuff for flags as requested by djGrr. We aren't going all-out rediculous 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-28 22:19:26 +00:00
brain
30904ef950 A flags section for filters. Do not use yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7177 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 20:30:51 +00:00
brain
d12b1c4897 ipv6 ifdef tidyup by djGrrr, thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7176 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 18:52:55 +00:00
brain
63c0316722 Display the proper transports for server ports *slap* :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7175 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 15:42:33 +00:00
w00t
cdbf2526f7 Remove code for clientcount/servercount from /stats p. At the moment it was 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-28 15:22:31 +00:00
w00t
04e35b16d8 Show IPs that a port is bound to in /stats p, don't remove duplicate ports 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-28 15:03:52 +00:00
w00t
0d35904426 Don't return CMD_SUCCESS. This command shouldn't go out on the wire.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7172 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 14:57:32 +00:00
w00t
c0de6310e2 - Add fix for /stats p support (this->port was not being set for listening inspsockets, thanks peavey).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7171 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-28 13:08:33 +00:00
w00t
351690f240 - Add server ports to /stats p. This doesn't work properly yet as something 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-28 12:38:20 +00:00
w00t
6a98cb1ccb Add m_cycle to example configuration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7169 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 13:24:21 +00:00
w00t
0306a4231e Add m_cycle: server-side equivilant of /hop, except it overrides +ilk. For the curious, this module took me under 5 minutes to write. (you said you didn't have time Naz? :P)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7168 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 13:20:30 +00:00
brain
c1940afc5f Fix for bug #305, allow admin to select what port outbound ident requests bind to
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7167 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 13:13:55 +00:00
brain
8ffa149aa1 Add config example, and allow options:defaultmodes="" so that people can have no default modes if they want.
Default in the example config is 'nt'. 
SIDENOTE: Someone really needs to tidy up <options> in 1.2


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7166 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 12:08:51 +00:00
brain
5b6462f4f6 ...and remember the parameters ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7165 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 12:06:23 +00:00
brain
cd7657bddc We were already sending FMODE +nt after each channel creation to keep services happy, just change this to send the servers default modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7164 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 12:05:23 +00:00
brain
4a50237d63 Config option for default channel modes -- more to follow, don't use yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7163 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 12:02:10 +00:00
brain
140b01ba49 Whoops, ++it++? Thats gonna break :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7162 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 11:30:41 +00:00
brain
7974f6d315 Another for bug #307
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7161 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 11:29:24 +00:00
brain
bd818bec49 Change for reverse output of lists, most recent first, for bug #307. Also fix(Oms) annoying(Cuddled(Ifs()))
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7160 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 11:28:18 +00:00
brain
8541ef7d98 pah, bully to you, mister posix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7159 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 20:18:03 +00:00
brain
b86a95c701 This should do it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7158 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 20:10:53 +00:00
brain
b4f3cb5c4b Works for me now, please test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7157 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 20:03:12 +00:00
brain
f95aa1c2c5 Brok.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7156 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 19:58:19 +00:00
brain
3cb0d3f0f8 Dunno why this method was static, doesnt need to be...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7155 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 19:54:15 +00:00
brain
5e14a1bbf4 w00t please review, line 1603 configreader.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7154 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 19:51:24 +00:00
w00t
2023652459 - Update our long suffering example MOTD :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7153 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 18:28:03 +00:00
brain
b53f298254 Use the example rules and motd in the default config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7152 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 18:18:54 +00:00
brain
120a5c9d1a Do we have any Venezuelan Beaver Cheese? ... Why yes, we do. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7150 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.8
2007-05-26 14:40:52 +00:00
brain
3ad40b22a7 Installer was defaulting the dir to c:\program files\inspircd and wouldnt present the user with an option to change. This is a BIG no-no and needed to be fixed before release.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7149 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 14:29:24 +00:00
brain
59fc682eb1 Make two sections "Binaries" and "command handlers" manditory - you won't have a working ircd if you don't install them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7148 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 13:58:28 +00:00
brain
574474463a Change icon to something nicer than a blue arrow (our insp logo) and add the icon to win/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7147 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 13:54:17 +00:00
brain
994fd968a9 Add warning to edit config files in installer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7146 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 13:50:52 +00:00
w00t
a152c67224 - Remove duplicate call to MatchText in filter.. it seems to work ok for me, fingers crossed..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7145 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 09:39:21 +00:00
w00t
74c9d7d011 - Fix some win32 warnings in a way that won't crash gcc compiles (I thought I fixed this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7144 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 09:38:42 +00:00
brain
3dc342af3c Choose the correct defines so that its not built too lean to compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7142 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 21:56:16 +00:00
brain
d3c9417123 Add defines that speed up the build process and reduce executable bloat
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7141 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 21:33:58 +00:00
brain
c3f992455f Tidy up to coding style
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7139 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 20:04:51 +00:00
brain
06790dc05d Fix for bug #302. He may not have had any connect lines in his conf but it 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-25 18:41:12 +00:00
brain
c5a1b96327 DIE. DIE YOU FUCKING ASSHAT OF A BUG.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7137 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 17:54:44 +00:00
brain
e7106c5cba Fix for bug #303 reported by HiroP, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7136 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 16:42:59 +00:00
brain
661a6bf071 Initial fix wasnt working, and was a mess. Lets try this again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7135 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 16:09:13 +00:00
brain
3d563fec88 Fix for /list glob bug in core LIST reported by HiroP, bug #304
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7134 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 16:06:48 +00:00
w00t
03bf72c331 Don't allow SVSHOLD from a non-ulined client. Thanks click.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7133 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-25 14:01:03 +00:00
special
a338648303 Propagate the gunloadmodule command even if the module isn't loaded locally; bug #299
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7132 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24 23:36:39 +00:00
brain
6427e2077e Somehow, the code which does the "assumption" that no prefix means 'that' 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-24 21:38:16 +00:00
brain
bb79b3b7a9 Make kill hiding work properly locally
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7130 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24 21:20:13 +00:00