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
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
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
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
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
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
d5d8a5987b
Moved custom_mode_params to per-channel
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3223 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 20:30:29 +00:00
w00t
a0c2e57896
Added bool IsValidChannelName(const char *) - it doesn't seem to blow things up...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3182 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-13 01:01:43 +00:00
brain
20dbeb8cef
Tweak to allow @%+ to all exist on a user at once during burst
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3170 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-12 16:25:49 +00:00
brain
3b9cf59ba0
Checks to not propogate invalid or already-existing Xlines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3143 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 18:14:12 +00:00
brain
1674c21da1
Increased how often socket timeout checks occur which will mean flushing write buffers more often
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3142 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 17:22:12 +00:00
brain
0ebea11505
Slightly more efficient write buffers
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3125 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07 16:55:02 +00:00
brain
6c14fd7ccd
Added support for changing tempdir via <options:tempdir>
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-06 13:41:24 +00:00
brain
ecee8268b2
Propogation of away messages across network (we dont bounce the numeric back for every privmsg like other ircds, we burst them and keep them synched by broadcasting AWAY)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3095 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05 16:08:46 +00:00
om
4be4ccdf26
Add .c_str()'s to m_sqloper in call to OneOfMatches(), and change prototype of OneOfMatches to take const char* instead of char*. Either that or case all the .c_str()'s to lose the const :"
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3091 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05 09:55:13 +00:00
brain
8869f710e5
Commented on new return value of OnUserPreKick for explicitly allowing kicks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3087 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-05 00:23:03 +00:00
brain
fd55692291
Allow space seperated hostlist in <oper:host> e.g. <oper host="foo@bar baz@qux blarp@flerble" name="blah">
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3074 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04 17:09:24 +00:00
brain
235a0a2035
Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for NOTICE @#chan etc.
...
Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04 13:09:18 +00:00
om
ca549070d9
Add operators >> and << for irc::string and i/ostreams. m_cban utilises this
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3066 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 22:40:10 +00:00
brain
9c64f695f6
Typo fixes #2
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3052 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:30:46 +00:00
brain
9ebbd138cc
This probably wont compile atm - add support for prefixed messages
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 17:20:40 +00:00
brain
7cbc465e2a
Added ircu-like hidewhois feature that allows hiding of server name in whois with arbitary string like '*.network.net'
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3034 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 10:03:01 +00:00
brain
38d7b5b0d9
*EXPERIMENTAL* <options:hidesplits> ircu-style quit munging for netsplits
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 00:25:28 +00:00
brain
f42e73185f
Removed bool return of DoBackgroundUserStuff()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3023 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 18:00:13 +00:00
brain
b7d36f5296
Extra comments re. nonblocking DNS and use of IP addresses in constructor to speed up connect time
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3022 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 17:51:06 +00:00
brain
bd9b965904
Nonblocking dns for InspSocket class (used by server to server)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3018 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 16:44:12 +00:00
brain
656e193516
*UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing requirement on nss_dns.so.1
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 16:34:34 +00:00
brain
5feabe4357
Key hiding when youre not on the channel
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-31 21:55:34 +00:00
brain
e9c208d82b
Remainder of TYPE_OTHER metadata
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 00:10:46 +00:00
brain
9d85ba0dad
Added support for TYPE_OTHER metadata, where void* target will be NULL, e.g. its not bound to a user or a nick
...
-NOT TEST COMPILED YET-
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2981 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 00:05:59 +00:00
brain
3ba6fa6d7f
Created OnPostOper that can be gauranteed to be called *after* opering (by ALL modules) is done
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29 21:43:34 +00:00
brain
1c50cc3371
Changed length of password field to 64, giving us a maximum password length of 63 plus null terminator
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2960 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28 23:56:10 +00:00
brain
89ae67a659
Fixed uninitialized ExtMode::list
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2959 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28 22:51:52 +00:00
brain
653638c686
Improved IP handling. Now uses in_addr to store client ip, not char[16]!
...
Added global and local session limits
All of this needs TESTING.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27 15:26:59 +00:00
om
72943b2c72
Add InsertMode function to helperfuncs.(cpp|h) for easily adding modes to the CHANMODES section of the 005 numeric
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2897 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 20:24:46 +00:00
brain
86c496cf14
Documented some functions that were missing comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 17:00:46 +00:00
brain
cdaf7ac378
Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how it works, function Prioritize())
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 16:31:05 +00:00
om
c8a96f0756
Oh noes, a typoed comment :x
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2887 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 15:38:49 +00:00
om
3d2a89504a
remove redundant variable and fix log output
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 15:35:40 +00:00
om
a8d1eab546
Adding the +e and +I modules m_banexception and m_inviteexception, also adding their shared utility header
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2884 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 14:49:12 +00:00
brain
8486ec92d2
Allowed for configuration of maxtargets in <options:maxtargets>
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2848 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 23:54:04 +00:00
brain
69dee41a1b
Added MakeWildHost to userrec (*!*@dhost)
...
Added ban stuff to messageflood
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2836 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 20:32:19 +00:00
brain
93e3cda102
Added facility for servers to send KICK message (ew, i hate this crap)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 19:23:20 +00:00
brain
02280596a0
Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel is deleted for cleanup of metadata)
...
Added m_messageflood.so (not yet finished, do not use yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 15:51:06 +00:00
brain
7e6dfdf211
Added support for part messages in the module API (and therefore between servers too)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-17 21:39:35 +00:00
brain
4b98200ca8
Changed lots of icky #define's to enums
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2810 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 21:08:09 +00:00