8170 Commits

Author SHA1 Message Date
brain
69b42417f3 Make u_listmode more sensible and make it properly use WriteNumeric, and a few other misc fixes found during today
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-07 18:24:55 +00:00
brain
565173aedd Fix broken m_alias, cant preallocate and then push_back, because then its maxparams + size :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9658 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06 22:34:45 +00:00
brain
d98358886d Fix bad throws and some other stuff in this module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9657 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06 22:05:19 +00:00
special
8d10212b91 Removed the verbosity in 'make clean' to fix issues with OpenBSD and possibly others
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06 21:07:42 +00:00
peavey
95ff25c717 Fix typo +c => +C reported by alamar
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9653 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06 21:04:28 +00:00
brain
3b2aed3757 Remove JOIN sending, all should be FJOIN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 21:21:13 +00:00
w00t
d832f4b250 Snotice on failed oper.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9650 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 21:19:03 +00:00
w00t
2ebf1f0055 Okay, this was good in theory, but totally and utterly fucked in implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 21:17:09 +00:00
w00t
1cae57dbf3 Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 20:39:40 +00:00
w00t
7ee0ade96a Un-break this so remote users still get RemoteMessage okay if targetted at a specific user, remove comment also as it's using PI now anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 13:01:42 +00:00
brain
a4e252e003 Alter remotemessage here to not do what w00ts patch did, twice
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 12:51:25 +00:00
w00t
ac8e888fd0 Don't re-propegate CHGHOST unnecessarily
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 12:44:23 +00:00
brain
484bf7243e Add sanity checks to LoopCall to prevent miscalls like this by broken 3rd party modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9643 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 10:10:34 +00:00
peavey
bc4828bbbd fix LoopCalls to not send param count thus avoiding a crash in command parser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9642 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 10:07:55 +00:00
brain
287e4973e0 Calling wrong loopcall overloaded method, due to hasty search and replace earlier
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9641 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 10:05:47 +00:00
brain
6cc946d0a0 Fix warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 05:34:22 +00:00
peavey
50d0945486 and no need to cast parameters to std::string here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9639 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 03:56:48 +00:00
peavey
4dbb86cfec parameters are already std::string no need to cast here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9638 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 03:52:49 +00:00
peavey
f9ef4ebc9d fix some unitialised vectors and tidy up a bit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 03:40:03 +00:00
peavey
e8bf6e5fdb Conversion complete, distclean compiles cleanly again. (If everything works is another story)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9636 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:53:08 +00:00
peavey
860d753071 Convert a few missing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:47:50 +00:00
peavey
bf5a8dc97f Convertions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9634 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:43:28 +00:00
peavey
e95f77bc99 oops, fix this one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9633 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:37:38 +00:00
peavey
82a5be10d0 Convert a few
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9632 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:35:06 +00:00
peavey
76b2c5c9cd Convert a few
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9631 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:34:46 +00:00
peavey
1b4925f99f Convert even more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:29:09 +00:00
peavey
943aae0168 Convert more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9629 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:25:06 +00:00
aquanight
b817341e21 Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9628 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:06:59 +00:00
peavey
dfaa7b4e52 Remove extra documented moduledir (reported by smartys). And move quietbursts documentaion from <option> section to <performance> section.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9627 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 01:10:16 +00:00
aquanight
a3d00f20ae Convert m_spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 00:40:23 +00:00
peavey
8232baefbf and now aquanight, you can compile from m_m*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9625 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 00:21:24 +00:00
peavey
5f6955a43e Convert convert convert
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9624 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 00:18:01 +00:00
peavey
8e89fe75f9 converting m_d* done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9623 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:57:02 +00:00
peavey
5fa533dcf7 Done up to and including m_c.. sigh
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9622 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:49:54 +00:00
peavey
1eb52771d6 Convert a few more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9621 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:48:07 +00:00
peavey
c2d1f2cdaf Convert a whole bunch more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:28:57 +00:00
peavey
222e912fc3 Converting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9619 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:13:23 +00:00
peavey
72e9b74428 Convert this one too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9618 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:07:52 +00:00
peavey
9300d6381c oops strgecos is already a std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9617 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:46:08 +00:00
peavey
098f92e100 Convert a few more modules to new API and command handler.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9616 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:44:03 +00:00
peavey
e44c77aa89 Ok 3rd time lucky, thanks for the pointers Brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9615 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:34:00 +00:00
peavey
ca6df5d5e1 fix this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9614 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:23:46 +00:00
peavey
6b10fa5262 First attempt at converting to new command handler, please review diff Brain.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9613 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:17:02 +00:00
brain
95bc4eb841 *param.c_str() -> param[0]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:49:20 +00:00
brain
291efc3c42 < MAXPARAMETERS for the size() check here can now be <= instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9611 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:48:00 +00:00
brain
b7904e2372 Update comments for new api
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9610 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:41:34 +00:00
brain
71eb82a980 Fix unused HandleServer to use new system too, and update comments to match api
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9609 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:41:09 +00:00
brain
ffbd1eebf0 Conversion of command handler params from "const char* const* parameters, int pcnt" to "const std::vector<std::string>& parameters". All of core is converted, but cant test it till the modules are converted.
IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess
of .c_str() calls to using std::string params directly.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:37:36 +00:00
aquanight
1c0efd2f56 Comment and improve check for access to ~/.inspircd/startup.log
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9606 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 01:06:02 +00:00
aquanight
907b61918f Make creation of ~/.inspircd properly check for EEXIST
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9605 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-03 21:36:17 +00:00