8170 Commits

Author SHA1 Message Date
brain
31f1e7ad09 Convert channel::name to std::string, this was a beastie!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 21:16:42 +00:00
brain
869bd02318 Convert channel banlist members to std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9769 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 19:53:03 +00:00
brain
12427e75fe Convert connection::host
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 19:12:43 +00:00
w00t
5865b900cd Fix logic being backwards (so every user was always away and an oper, except when they weren't an oper, and weren't away ...)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9767 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 18:29:30 +00:00
brain
09f5312e12 Fix crash i introduced into m_ident with a sloppy ->insert()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9766 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 18:23:30 +00:00
w00t
b3ea96554e Fix users being unable to register (aquanight, what the fuck were you smoking? :p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9765 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 18:05:57 +00:00
w00t
df56d4697a Clean this up so it's comprehensible.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9764 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 16:22:51 +00:00
w00t
b150cf7845 Remove outdated comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9763 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 10:43:04 +00:00
w00t
110d053f8c Some logging/preventative code for Jason's issue.. it shouldn't crash now (fingers crossed) if it tries to do something naughty, but it will log about it instead. I know this is buttfucked code, but it's highly temporary.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9762 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 10:27:34 +00:00
w00t
2df1a3de45 Don't background process quitting users (there's no point), half fixes Jason's issue..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9761 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 10:10:46 +00:00
brain
84235673df Fix these too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9760 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:34:08 +00:00
brain
e3bd782207 More done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9759 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:29:53 +00:00
brain
89a8dff5f6 These done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9758 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:22:58 +00:00
brain
8cb8131110 Commit these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9757 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:19:34 +00:00
brain
77bb8528a6 These too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9756 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:14:29 +00:00
brain
52ba3b6df7 Fix this one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9755 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:13:05 +00:00
brain
b03f6ce251 Fix these too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9754 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:12:47 +00:00
brain
a8d0bb046a And these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9753 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:11:49 +00:00
brain
fd35597348 Fix these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9752 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19 00:11:38 +00:00
aquanight
3699b899c0 Convert m_spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9751 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 23:47:28 +00:00
brain
6d6feb70a3 Next to convert
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9750 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 23:38:46 +00:00
brain
6f8972c518 Fix two
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9749 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 23:25:41 +00:00
aquanight
4b856bda13 Make User:: nick/ident/dhost/fullname and some other things std::string instead of char*/char[] (MODULES DO NOT COMPILE)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 23:15:53 +00:00
w00t
9d58c0986b This conflicted a few hours ago apparantly (????)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9747 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 23:07:06 +00:00
w00t
0bed81e9d7 Jason, try this..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9746 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 23:06:05 +00:00
brain
ad9f0df06a Same here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9745 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 21:36:18 +00:00
aquanight
f154803a51 Fix some unneeded .c_str() usage in m_spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9743 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 18:55:40 +00:00
w00t
9010a88320 Fix for Jason's bug.. this needs more thought, though. I'll probably whip up something tonight.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9742 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 18:40:51 +00:00
brain
3e3b3d18a4 check for GetDisabled should be before the match() commands, because its not worth wasting cpu time on match if its disabled anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9741 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 18:36:42 +00:00
w00t
a14e9ff3d1 Show count of total num of classes, for Jason
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9740 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 18:33:33 +00:00
brain
cea66039aa Fix two occurances of match() on a const char* here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9739 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 18:26:07 +00:00
brain
5e854d57e3 I dont know who said we keep going when we get a match, because thats just silly. we stop at the first connect block that matches all critera of the connection.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9738 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 18:23:30 +00:00
brain
0276e5138a Remove .c_str()'s in match() calls that are no longer needed as match() natively takes std::strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 17:51:36 +00:00
w00t
1fc43c1cab More debug for Jason
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9736 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 17:41:04 +00:00
brain
697cf1b658 Please see my XXX in m_conn_umodes w00t, maybe something we can look at next?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9735 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 17:38:51 +00:00
brain
ade1c467be Remove some unneccessary .c_str() calls
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9734 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 17:27:51 +00:00
w00t
d2a1d1df43 Debug logging for connect class match failure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9733 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 17:25:29 +00:00
w00t
9e59e5e906 Fix bug found in <connect> code, <connect:limit> was checked after finding a class that matched, not during - meaning that if they were locked out by <connect:limit>, they were given no second chance to be matched by a future <connect> (and that <connect> deny would not apply to them if necessary etc). Also tidy this up a *lot*, remove some of the nesting by (ab)using looping. This is a lot more understandable for me now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9732 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 17:16:55 +00:00
brain
1fa86207ed Fixy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 14:29:04 +00:00
brain
d59e218966 Whoops, this was a bit fucked up :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9730 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 14:28:18 +00:00
brain
cd7301e6f9 Log all snomasks to "snomask" log type, level DEFAULT. This means your log gets all the snomasks in it, but you can filter them out with "-snomask". This allows a user to redirect them to a channel with m_chanlog
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18 14:19:16 +00:00
brain
917d2a3dd7 Holstein
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9728 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0a3
2008-05-18 13:04:32 +00:00
brain
a44ec2aa51 MD_update causes valgrind warnings, remove it..... ...... JUST KIDDNG :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-16 17:53:55 +00:00
brain
af30d19ff4 Make FD_SETSIZE larger. We wont ever have this many users via select() on windows, this is to test out some stuff mainly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9726 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-15 19:45:13 +00:00
brain
4db28c85e4 Right now this just dumps the config hash as html
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9725 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 20:53:06 +00:00
brain
9f33bf7fc8 Check for windows drive letters on the start of paths and treat them the same as paths that start with /, this makes insp more friendly for windows filesystems
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 17:16:26 +00:00
brain
25a78272bc Fix the format of +p channels in /list (both in core /list and in m_safelist), thanks jrm :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9723 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 16:18:52 +00:00
brain
82bf46fa06 Microsoft, in their "infinite wisdom" decide to have no sensible naming convention at all for windows api structs so have taken the struct name 'ACL' in winnt.h. Therefore we have to rename ours to HTTPACL :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9720 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 15:53:12 +00:00
bricker
a4f4fdbe1b add HostServ as IRCservices has it as an option and add the names inside anope.conf so they know its being specified..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9719 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 07:05:15 +00:00
bricker
f12f2d3acc add "Bug tracker" to the default motd ;) everything else is there, why not that
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9718 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 06:58:42 +00:00