2533 Commits

Author SHA1 Message Date
brain
326a73ff7b Fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 19:11:07 +00:00
brain
94b20ad3b9 Fix for ambiguity in function name here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3274 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 19:07:49 +00:00
brain
163c429ec5 Added second form of find() taking const char*, which is faster in the core where char* is used more often
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3273 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 19:03:13 +00:00
brain
f0ebde21e5 Improved speed of Find() by passing reference to std::string instead of std::string itself
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3272 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 19:01:33 +00:00
w00t
a546ab3f11 It didn't, there was more strlcpy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3271 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 03:30:29 +00:00
w00t
76109ae62b Fix this, I think.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3270 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 03:27:23 +00:00
brain
f64333bbfd Lets fix it right this time (and annoy ol with more tweaks)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3269 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20 22:56:46 +00:00
brain
61768f4f3b User kicks being ignored!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3268 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20 22:53:30 +00:00
brain
8a37a9344b Fix to stop new code treating all KICK messages as server KICKs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3267 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20 22:32:39 +00:00
brain
ec731e8078 Propogation of remote kicks (testy test)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3266 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20 22:25:56 +00:00
brain
a3912ad8aa Fix for hide-ulines in /links
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3265 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20 22:02:18 +00:00
brain
7338244533 Configure no longer allows gcc 2.x compilers AT ALL >:)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3264 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20 00:46:58 +00:00
brain
bb7ff3b7b6 AIEEE fucking overloaded operators
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3263 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 23:21:41 +00:00
brain
5e42198671 More tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3262 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 23:19:25 +00:00
brain
8942c3cd32 Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3261 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 23:17:17 +00:00
brain
f0610a1fa2 Added + and == operators between std::string and irc::string.
Its too late at night to wrestle with the = operator, this can wait for another time.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3260 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 23:14:37 +00:00
brain
bf0f3f06ff Removed the 'one of' check for <dns>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3259 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 21:35:42 +00:00
brain
4bab84f93b <dns:server> is now optional
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3258 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 21:34:32 +00:00
brain
484cb43c21 Throws exception on failed GetIOHook()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3257 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 20:46:35 +00:00
brain
c1f1f982e8 Added check for if the servername contains a '.', if not append one on rehash
Added retrieval of nameserver from /etc/resolv.conf if <dns:server> is not defined.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3256 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 20:44:17 +00:00
brain
e187e4bb60 Moved to 1.0.2+SVN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3255 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 19:26:40 +00:00
brain
b618ce2fe6 Moved to 1.0.1 release
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3254 e03df62e-2008-0410-955e-edbf42e46eb7
v1.0.1
2006-02-19 17:23:21 +00:00
brain
82a96604ef Removed unneeded {}'s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3253 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 16:20:34 +00:00
brain
42ead28a57 Testing \exception doxygen tag that *should* work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3252 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 16:15:28 +00:00
brain
014f4a259e This was back to front and threw an exception when the command DIDNT exist (whoooops!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3251 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:59:57 +00:00
brain
a394fd9c53 Return false after catching a module exception
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3250 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:58:47 +00:00
brain
756fdc5086 I repeat, missing semicolons are bad
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3249 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:31:28 +00:00
brain
5ed940179f Missing semicolons are bad.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3248 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:28:48 +00:00
brain
b1fcb6a770 Forgot to commit this?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3247 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:26:07 +00:00
brain
1328556e36 Server::AddExtendedMode and Server::AddCommand will now throw exceptions when adding a bad mode or already existing command. If the module constructor does not handle this exception, this will abort the module's constructor, forbidding loading of modules which are unable to function (smart eh)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3246 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:21:51 +00:00
brain
fe96061b00 More exception throwing in constructors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3245 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:09:24 +00:00
brain
65d4c9a057 Added FilterException and throw code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3244 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:03:11 +00:00
brain
12b9291384 Added exception thrower
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3243 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:00:23 +00:00
brain
6824a483e3 Apparently to catch descendent classes we need to catch a reference to the parent, not the parent itself
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 14:53:06 +00:00
brain
99e1325d66 Made a booboo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3241 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 14:46:48 +00:00
brain
2a9b0cdd30 Added exception handling for module loading
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 14:44:32 +00:00
brain
45fa01dc79 Should fix case insensitivity issue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3239 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 13:07:27 +00:00
w00t
675698fff9 - Don't allow invalid channel names in /mode #chan +L #chan
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3238 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 11:27:00 +00:00
brain
d542381250 Added MAXPARA=32 to 005 (no other ircd has this, or allows a larger MAXPARA but its worth advertising this feature in case a client chooses to support it in the future)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3237 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-18 00:01:28 +00:00
om
65b7bc5f00 Update mode lists, fix mode lists, and alphabeticalise mode lists (:/!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3236 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 19:50:22 +00:00
brain
906ed180a8 Bad maths, bad! go sit in the corner
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3235 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 19:13:45 +00:00
brain
dbb912be82 More debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3234 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 19:11:26 +00:00
brain
b16852902c New tweak doesnt work yet, dont use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3233 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 18:59:57 +00:00
brain
d2c7993041 Extra tweak for exceptional condition
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3232 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 18:57:11 +00:00
brain
0dd237c9a9 Experimental speed improvement to sending encrypted lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3231 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 18:56:20 +00:00
brain
c5e529cfb9 Extra logging to log bad opertypes coming in from remotes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3230 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 18:51:17 +00:00
brain
55fdc886a1 Checking to prevent dodgy opertypes (opertypes must follow the same syntax as nicks now)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3229 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 18:49:48 +00:00
brain
bba10a7af4 Extra checking and exception handling in InspSocket::Write
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3228 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-16 18:39:25 +00:00
brain
e9b85e303c Test for bug reported by TDC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3227 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 21:33:21 +00:00
brain
9def32d941 Yet more logging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3226 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 21:28:26 +00:00