6044 Commits

Author SHA1 Message Date
w00t
b2e82c7d76 Helpop fixes, noted by HiroP, derived from patch by HiroP in bug #291
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6953 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 14:00:18 +00:00
brain
01daa1fc77 Add openssl cert generation prettyness, make it like our gnutls one. It seems that openssl doesnt support templating like gnutls, so we pipe the input in from configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6952 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 13:53:16 +00:00
brain
876f5d3cab Remove pointless debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6951 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 13:24:01 +00:00
w00t
3975734e9c Remove a large portion of commented craq, and make this fit in better with the rest of the source (braces on individual lines etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6950 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 12:10:30 +00:00
w00t
0cc42a8eeb Update this to use the new copyright header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6949 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 12:08:35 +00:00
w00t
7f4aa4e8d7 Add <stripcolor:allowchanops> to allow channel operators to bypass color stripping. Defaults to off. Added to example config. Closes bug #288 :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6948 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 11:33:56 +00:00
w00t
de6e135cce Remove PARKSTATS from example helpop conf, thanks HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6947 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 10:25:18 +00:00
w00t
67ee3c8552 Fix typo in r6944, thanks HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6946 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 10:23:34 +00:00
w00t
3eca7be9df If hidewhois is enabled, don't show idle time unless requested via remote /whois nick nick form, this stops serverhopping to find where someone is. Thanks djGrrr.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6945 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 10:16:29 +00:00
w00t
f27e18aafc Add warning notice to m_deaf, as setting it will make new users pretty confused :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6944 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 10:09:21 +00:00
peavey
df502255c1 Fix duplicate End of /NAMES list from here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6943 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 04:09:54 +00:00
peavey
7a2e9dd0de chanrec::UserList() gives out end of names numeric. So don't do it here. Fix for bug #289
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6942 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 03:10:28 +00:00
brain
959c67db27 Comment what ive done, so that someone doesnt go 'oh thats a redundant data copy, what muppet put that there' and take it out, giving everyone uhnames output that doesnt support it :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6941 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 01:01:42 +00:00
brain
395511bd07 Tweaks here so we can avoid data copies in uhnames
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6940 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 01:00:22 +00:00
brain
6e1f6f7a30 This doesnt need a data copy any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6939 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:55:07 +00:00
brain
a11d65f691 Add m_uhnames.so to the example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6938 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:39:25 +00:00
brain
7cbc335e89 Make it not suck^H^H^H^Hsegfault... and its all fixed and *working* :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6937 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:36:16 +00:00
brain
f7dd3ab4c0 It would be good if this actually compiled too...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6936 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:28:15 +00:00
brain
fb6ae5de3a Add uhnames prototype
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6935 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:26:34 +00:00
brain
ce533b67e6 Small api change with wide reaching effects in modules - Allows modification of whats displayed by NAMES on a per-nick basis, so we can have UHNAMES in a seperate module to NAMESX (and possibly do some funky other stuff in the future too!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:26:04 +00:00
brain
b8015b09dc Fix ping timeout ERROR not being generated when a server pings out, making the other end appear to be closed unexpectedly without reason.
Find and fix the 3 ping timeout messages for server to server that were using WriteOpers instead of snomask +l


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6933 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 23:42:06 +00:00
brain
221cd997be Add a module which only lets identified users and opers create new channels, as per bug #279 reported by Casey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6932 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 22:03:57 +00:00
brain
ae672a42dc Fix operquit notices being chopped to first word of quit message, spotted by owine :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6931 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:42:15 +00:00
brain
c5475a56f7 The WHO documentation in helpop.conf was WAY out of date
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6930 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:32:59 +00:00
brain
832e4d6003 If we're having local, we need far too (f)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6929 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:26:12 +00:00
brain
d0bde38343 Add WHO flag 'l', show only local users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6928 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:24:57 +00:00
brain
b328aad53b Fix slightly broken oper checks on +i
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6927 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:12:35 +00:00
brain
711b65bb2a Add extra matches to /WHO. flags aiMp, away, ident, metadata, port number
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6926 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:00:06 +00:00
brain
1dea4f2adf Someone left a flag out of the syntax (m, modes)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6925 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 20:40:18 +00:00
brain
02c0611d36 Fix the other logic bug found by peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6924 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 20:36:10 +00:00
brain
0c19615624 There was some real odd logic in here - thanks owine and HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6923 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 20:35:12 +00:00
w00t
1ed56fd1d5 Make RCONNECT accept a glob for the first parameter. Thanks, HiroP :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6922 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 16:40:04 +00:00
w00t
cba3552f3a Implement bug #282 from owine: kill sender hiding. <options:hidekills> needs to be set to a static string to display instead of the killer's nick. QA: *IMPORTANT* please extensivly test local ***AND*** remote killing with this on and off. Thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6921 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 01:02:44 +00:00
w00t
a60f054438 - (FINALLY, ffs) add realnames to connect/remote connect server notices, per HiroP's patch. No, we're not showing SSL - SSL is a module, putting that in the core is hacky.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6920 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 23:35:28 +00:00
brain
5246737b16 Decraq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6919 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 21:41:57 +00:00
brain
bc34197205 Add oper notices on: (1) joining invisibly to a channel (2) engage or disengage mode +Q
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6918 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 21:30:08 +00:00
brain
3c362be4a2 Tidy up some lollercode
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6917 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 20:18:16 +00:00
brain
a255037d2d Document m_xmlsocket.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6916 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 20:09:18 +00:00
brain
921ff55ce1 Sending a buffer full of garbage is not smart or funny.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6915 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 19:14:02 +00:00
brain
ac223dbc6c Left openssl includes in here :<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6914 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 18:48:59 +00:00
brain
646b2c1da9 Add comments to describe wtf we are doing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6913 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 18:44:46 +00:00
brain
19853e96f5 Don't use this yet. we're waiting on w00t for a test client
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6912 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 18:32:22 +00:00
brain
e295d91ffd Make SAJOIN/SAPART more spanningtree friendly, they are throwbacks to the inspircd 1.0 alpha days :S
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6911 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 16:16:25 +00:00
brain
74da82aef9 We're setting chanrec::creation in here and not chanrec::age, this can and will fuck up TS. Set Both.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6910 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 02:59:29 +00:00
brain
545736adb5 Fix multi-level if() madness, thanks HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6909 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 21:03:57 +00:00
brain
3f95fe8a05 Correct the silentbursts logic
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6908 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 20:54:01 +00:00
brain
f15165b49a we typedeffed nspace::hash_map<std::string,command_t*> to command_table ages ago.
Now its time we used it! command_table::iterator is far neater than nspace::hash_map<std::string,command_t*>::iterator


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6907 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 18:51:47 +00:00
brain
95f1be0b6f Slightly tidier capab checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6906 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 16:35:14 +00:00
brain
8460f081ad Needs a little testing: Tidyup of some code, namely when validating the length of params for NICK, tidied it into an array of sizes and indexes rather than a big long chain of if, then, else
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6905 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 16:19:22 +00:00
brain
02c114d836 Fix channel TS not being set correctly on creation of new channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6904 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 15:49:57 +00:00