]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoAdd a factory to produce shuns, don't autoapply to userlist, etc.
w00t [Mon, 7 Apr 2008 22:34:46 +0000 (22:34 +0000)]
Add a factory to produce shuns, don't autoapply to userlist, etc.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9410 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd extra stuff for w00t, AutoApplyToUserList method for XLineFactory
brain [Mon, 7 Apr 2008 22:30:45 +0000 (22:30 +0000)]
Add extra stuff for w00t, AutoApplyToUserList method for XLineFactory

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9409 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUse SHUN, not S, try match on std::string for removal
w00t [Mon, 7 Apr 2008 22:17:30 +0000 (22:17 +0000)]
Use SHUN, not S, try match on std::string for removal

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9408 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUnrestrict users before REG_ALL
w00t [Mon, 7 Apr 2008 22:14:21 +0000 (22:14 +0000)]
Unrestrict users before REG_ALL

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9407 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake it work properly, too
brain [Mon, 7 Apr 2008 22:03:12 +0000 (22:03 +0000)]
Make it work properly, too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9406 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoShow server kills with correct origin, UNLESS hidden server in whois is set
brain [Mon, 7 Apr 2008 22:02:46 +0000 (22:02 +0000)]
Show server kills with correct origin, UNLESS hidden server in whois is set

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9405 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThis should probably be tested, but makes a whole lot more sense like this (users...
brain [Mon, 7 Apr 2008 22:00:49 +0000 (22:00 +0000)]
This should probably be tested, but makes a whole lot more sense like this (users.cpp)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9404 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoShow SID on /map
w00t [Mon, 7 Apr 2008 18:13:58 +0000 (18:13 +0000)]
Show SID on /map

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9403 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoremote MAP reply is backwards :p
brain [Mon, 7 Apr 2008 18:00:28 +0000 (18:00 +0000)]
remote MAP reply is backwards :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9402 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUse server names for introduction of servers, not SIDs
w00t [Mon, 7 Apr 2008 16:50:20 +0000 (16:50 +0000)]
Use server names for introduction of servers, not SIDs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9401 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWe were lucky this one didnt bring down the whole devnet (see cmd_part.cpp diff)
brain [Mon, 7 Apr 2008 16:18:32 +0000 (16:18 +0000)]
We were lucky this one didnt bring down the whole devnet (see cmd_part.cpp diff)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9400 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTypo x 2 (ta Zaba)
w00t [Mon, 7 Apr 2008 14:45:41 +0000 (14:45 +0000)]
Typo x 2 (ta Zaba)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9399 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTypo
w00t [Mon, 7 Apr 2008 14:45:01 +0000 (14:45 +0000)]
Typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9398 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoConvert this to use the new XLine API, this results in fairly significant lessening...
w00t [Mon, 7 Apr 2008 14:35:50 +0000 (14:35 +0000)]
Convert this to use the new XLine API, this results in fairly significant lessening of code complexity.. also now more up to date with our recent coding style.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9397 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd m_shun from third party to 1.2, update it to compile (currently untested..) and...
w00t [Mon, 7 Apr 2008 13:08:25 +0000 (13:08 +0000)]
Add m_shun from third party to 1.2, update it to compile (currently untested..) and fix a printf-bug in the process

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9396 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdates to NeoStats aliases, again by TamCore (thanks :))
w00t [Mon, 7 Apr 2008 12:39:22 +0000 (12:39 +0000)]
Updates to NeoStats aliases, again by TamCore (thanks :))

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9395 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoPatch from Brain: set MAX_DESCRIPTORS for all socket engines (I missed this)
w00t [Mon, 7 Apr 2008 12:29:05 +0000 (12:29 +0000)]
Patch from Brain: set MAX_DESCRIPTORS for all socket engines (I missed this)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9394 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix fake direction in TOPIC, you cant use a uuid as a command origin in the send...
brain [Sun, 6 Apr 2008 23:18:19 +0000 (23:18 +0000)]
Fix fake direction in TOPIC, you cant use a uuid as a command origin in the send functions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9393 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIts ok to allow remote map to non-opers now, found the real culprit
brain [Sun, 6 Apr 2008 21:59:10 +0000 (21:59 +0000)]
Its ok to allow remote map to non-opers now, found the real culprit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9392 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix bug where OPERTYPE does not propogate more than one server in distance due to...
brain [Sun, 6 Apr 2008 21:57:03 +0000 (21:57 +0000)]
Fix bug where OPERTYPE does not propogate more than one server in distance due to it being propogated with a nick prefix.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemote map only works for opers. Fix problem where only part of the map is shown...
brain [Sun, 6 Apr 2008 21:50:03 +0000 (21:50 +0000)]
Remote map only works for opers. Fix problem where only part of the map is shown, and also restrict to opers only so that normal users cant use it to probe network routes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9390 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDebug
brain [Sun, 6 Apr 2008 21:44:18 +0000 (21:44 +0000)]
Debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9389 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThe map matrix must be static. For some reason it blows up when it is not. This fixes...
brain [Sun, 6 Apr 2008 21:35:03 +0000 (21:35 +0000)]
The map matrix must be static. For some reason it blows up when it is not. This fixes the display oddities, as far as i can tell.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9388 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoInitialise this so WriteCommon() knows what it's dealing with (thanks, valgrind)
w00t [Sun, 6 Apr 2008 20:24:54 +0000 (20:24 +0000)]
Initialise this so WriteCommon() knows what it's dealing with (thanks, valgrind)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9387 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoInitialise var (another valgrind warning)
w00t [Sun, 6 Apr 2008 20:17:42 +0000 (20:17 +0000)]
Initialise var (another valgrind warning)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9386 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoStupid, stupid :| use the correct variable to find existing channel (this caused...
w00t [Sun, 6 Apr 2008 20:10:33 +0000 (20:10 +0000)]
Stupid, stupid :| use the correct variable to find existing channel (this caused my spurious CoreException crash, Brain)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9385 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoInitialise this (valgrind warning)
w00t [Sun, 6 Apr 2008 20:09:06 +0000 (20:09 +0000)]
Initialise this (valgrind warning)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9384 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemote /MAP (that now doesn't confuse clients ;p)
w00t [Sun, 6 Apr 2008 18:11:25 +0000 (18:11 +0000)]
Remote /MAP (that now doesn't confuse clients ;p)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9383 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix this up to convert deque to const char* const for w00t
brain [Sun, 6 Apr 2008 18:03:30 +0000 (18:03 +0000)]
Fix this up to convert deque to const char* const for w00t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9382 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemote /MAP: caution, this doesn't compile
w00t [Sun, 6 Apr 2008 17:53:15 +0000 (17:53 +0000)]
Remote /MAP: caution, this doesn't compile

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9381 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRevert not-required hax
brain [Sun, 6 Apr 2008 17:26:25 +0000 (17:26 +0000)]
Revert not-required hax

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9380 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFor some reason there was a FinishBurst in the encap command, which was sending spuri...
brain [Sun, 6 Apr 2008 17:24:10 +0000 (17:24 +0000)]
For some reason there was a FinishBurst in the encap command, which was sending spurious end of burst messages

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9379 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMark ping answered when we get a two form reply
w00t [Sun, 6 Apr 2008 16:26:50 +0000 (16:26 +0000)]
Mark ping answered when we get a two form reply

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9378 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake ping warnings and lag check global across all servers on a network. This means...
w00t [Sun, 6 Apr 2008 16:22:10 +0000 (16:22 +0000)]
Make ping warnings and lag check global across all servers on a network. This means a lot of pings travelling around with a lot of servers, but hey, it's useful info.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9377 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd NeoStats example aliases (thanks TamCore)
w00t [Sun, 6 Apr 2008 13:12:32 +0000 (13:12 +0000)]
Add NeoStats example aliases (thanks TamCore)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9376 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix bug #509 reported by Casey: bans were not applied on non-opped users (1.2 only)
w00t [Sun, 6 Apr 2008 12:30:47 +0000 (12:30 +0000)]
Fix bug #509 reported by Casey: bans were not applied on non-opped users (1.2 only)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9375 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMore missing docs.
w00t [Sun, 6 Apr 2008 12:11:16 +0000 (12:11 +0000)]
More missing docs.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9374 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix a silly bug we never thought was a bug, in m_messageflood - the message that...
w00t [Sun, 6 Apr 2008 12:04:20 +0000 (12:04 +0000)]
Fix a silly bug we never thought was a bug, in m_messageflood - the message that got a user kicked was always allowed through (appearing *after* they were kicked). Was a return 1 in the wrong place.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9372 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSome documentation fixes (misnamed module, missing modules, etc). Fixes bug #508...
w00t [Sun, 6 Apr 2008 11:46:50 +0000 (11:46 +0000)]
Some documentation fixes (misnamed module, missing modules, etc). Fixes bug #508 - thanks Casey

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9371 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoError message tweaking
w00t [Sat, 5 Apr 2008 22:54:22 +0000 (22:54 +0000)]
Error message tweaking

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9370 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd protocolinterface.* and privmsg.cpp
brain [Sat, 5 Apr 2008 21:42:38 +0000 (21:42 +0000)]
Add protocolinterface.* and privmsg.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9369 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWindows fixes
brain [Sat, 5 Apr 2008 21:39:55 +0000 (21:39 +0000)]
Windows fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9368 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIn case youre wondering, Belgian Blue is a cow breed :) (BLAME W00T)
brain [Sat, 5 Apr 2008 21:19:51 +0000 (21:19 +0000)]
In case youre wondering, Belgian Blue is a cow breed :) (BLAME W00T)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9366 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove debug, fix DELLINE: args were the wrong way around
w00t [Sat, 5 Apr 2008 20:14:28 +0000 (20:14 +0000)]
Remove debug, fix DELLINE: args were the wrong way around

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9365 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agodebug
w00t [Sat, 5 Apr 2008 20:09:14 +0000 (20:09 +0000)]
debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9364 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSame here
brain [Sat, 5 Apr 2008 17:28:40 +0000 (17:28 +0000)]
Same here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9362 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix showing of sid/uid instead of nick or servername when lines are added
brain [Sat, 5 Apr 2008 17:27:22 +0000 (17:27 +0000)]
Fix showing of sid/uid instead of nick or servername when lines are added

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9361 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoResolve collisions once, don't rely on every server being able to fix our collision
w00t [Sat, 5 Apr 2008 17:02:12 +0000 (17:02 +0000)]
Resolve collisions once, don't rely on every server being able to fix our collision

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9360 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix a cosmetic issue: 'oper type does not have access'
w00t [Sat, 5 Apr 2008 16:39:08 +0000 (16:39 +0000)]
Fix a cosmetic issue: 'oper type  does not have access'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9359 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix multiple burst notifications in a better way (force EOB was quite often hitting...
w00t [Sat, 5 Apr 2008 16:26:03 +0000 (16:26 +0000)]
Fix multiple burst notifications in a better way (force EOB was quite often hitting in too quickly, will only trigger on servers not EOB after 60 seconds now)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9358 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix IDLE sending a nick rather than a uid. Atheme should probably put a check in...
brain [Sat, 5 Apr 2008 16:25:11 +0000 (16:25 +0000)]
Fix IDLE sending a nick rather than a uid. Atheme should probably put a check in too, but its now low priority

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9357 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix bug (partially/accidentally) discovered by Bricker: if an XLine is not permanent...
w00t [Sat, 5 Apr 2008 16:08:13 +0000 (16:08 +0000)]
Fix bug (partially/accidentally) discovered by Bricker: if an XLine is not permanent, bancache should use the expiry time of the xline, not an arbitrary value

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9356 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoOnly finish bursting once, thanks AnMaster
brain [Sat, 5 Apr 2008 16:04:36 +0000 (16:04 +0000)]
Only finish bursting once, thanks AnMaster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9355 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove debug, thanks for reminding me danieldg
brain [Sat, 5 Apr 2008 15:29:26 +0000 (15:29 +0000)]
Remove debug, thanks for reminding me danieldg

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9354 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTweaks to make some errors show server name and not server ID
brain [Sat, 5 Apr 2008 15:07:45 +0000 (15:07 +0000)]
Tweaks to make some errors show server name and not server ID

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9353 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake sure this is pushed too
brain [Sat, 5 Apr 2008 14:36:29 +0000 (14:36 +0000)]
Make sure this is pushed too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9352 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMore standardized version output in 002 and 004 to make indexing for version numbers...
brain [Sat, 5 Apr 2008 14:35:41 +0000 (14:35 +0000)]
More standardized version output in 002 and 004 to make indexing for version numbers better

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9351 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUse 1.2, not VERSION constant for here.
w00t [Sat, 5 Apr 2008 13:48:40 +0000 (13:48 +0000)]
Use 1.2, not VERSION constant for here.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9350 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUpdate ModDesc and class name
w00t [Sat, 5 Apr 2008 11:50:56 +0000 (11:50 +0000)]
Update ModDesc and class name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9349 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRedo the MODE warning stuff. Don't do some extra unneeded checks, don't allow SVSMODE...
w00t [Sat, 5 Apr 2008 11:31:18 +0000 (11:31 +0000)]
Redo the MODE warning stuff. Don't do some extra unneeded checks, don't allow SVSMODE on a channel, close any link that tries to do a MODE on a channel. FMODE with proper TS rules *must* be used.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9348 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDocument more stuff, correct some out of date text,
brain [Sat, 5 Apr 2008 02:39:26 +0000 (02:39 +0000)]
Document more stuff, correct some out of date text,
tidy up formatting of logging section

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9347 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix crash in MODE when sent for a user, with only one parameter (which is wrong,...
brain [Sat, 5 Apr 2008 01:05:32 +0000 (01:05 +0000)]
Fix crash in MODE when sent for a user, with only one parameter (which is wrong, anyway) - Also fix bad output in protocol interface when sending MODE for a user from a server origin

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9346 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd m_nickban and documentation. Implements +b n:, which stops any users matching...
w00t [Fri, 4 Apr 2008 23:02:50 +0000 (23:02 +0000)]
Add m_nickban and documentation. Implements +b n:, which stops any users matching from changing their nick.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9345 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoOff by one
w00t [Fri, 4 Apr 2008 23:00:13 +0000 (23:00 +0000)]
Off by one

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9344 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoOnly examine local messages
w00t [Fri, 4 Apr 2008 22:58:06 +0000 (22:58 +0000)]
Only examine local messages

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9343 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDOH
brain [Fri, 4 Apr 2008 22:45:31 +0000 (22:45 +0000)]
DOH

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9342 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoExtra stuff for 005 numeric
brain [Fri, 4 Apr 2008 22:42:11 +0000 (22:42 +0000)]
Extra stuff for 005 numeric

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9341 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agom_quietban: implements snomask +b q:
w00t [Fri, 4 Apr 2008 22:26:47 +0000 (22:26 +0000)]
m_quietban: implements snomask +b q:

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9340 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove debug printf
w00t [Fri, 4 Apr 2008 22:24:51 +0000 (22:24 +0000)]
Remove debug printf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9339 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix broken fjoin, looks like we forgot something when porting to new format :p
brain [Fri, 4 Apr 2008 22:13:06 +0000 (22:13 +0000)]
Fix broken fjoin, looks like we forgot something when porting to new format :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9338 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThe start of extended bans infrastructure: syntax is e.g. +b n:w00tdiff@*, bans of...
w00t [Fri, 4 Apr 2008 21:43:21 +0000 (21:43 +0000)]
The start of extended bans infrastructure: syntax is e.g. +b n:w00tdiff@*, bans of any type can be applied and checked against, but there's more to come with this.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9337 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSee this brain
w00t [Fri, 4 Apr 2008 20:47:45 +0000 (20:47 +0000)]
See this brain

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9336 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoApply our own version of mminds patch that doesnt have #defines in it
brain [Fri, 4 Apr 2008 19:55:36 +0000 (19:55 +0000)]
Apply our own version of mminds patch that doesnt have #defines in it

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9334 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd simple modes to FJOIN instead of sending a seperate FMODE all the time. This...
w00t [Fri, 4 Apr 2008 19:36:39 +0000 (19:36 +0000)]
Add simple modes to FJOIN instead of sending a seperate FMODE all the time. This has the benefit of less bandwidth, making us closer to TS6 compliant, and perhaps defeating a few desync conditions in the future..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9333 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDont check APrefix both times :p
brain [Fri, 4 Apr 2008 19:13:22 +0000 (19:13 +0000)]
Dont check APrefix both times :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9332 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBetter checks
brain [Fri, 4 Apr 2008 19:12:03 +0000 (19:12 +0000)]
Better checks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9331 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThrow exception if both the prefix chars are defined and the same (thaks danieldg)
brain [Fri, 4 Apr 2008 19:07:56 +0000 (19:07 +0000)]
Throw exception if both the prefix chars are defined and the same (thaks danieldg)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9330 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAllow for custom prefixes as status chars in /notice @#chan etc. Up until now theyve...
brain [Fri, 4 Apr 2008 18:50:09 +0000 (18:50 +0000)]
Allow for custom prefixes as status chars in /notice @#chan etc. Up until now theyve just used a hard coded check on @%+. This slows down writing to a channels users by a small amount, but only when writing to a prefix is happening.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9329 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDocument new logging and m_chanlog
w00t [Fri, 4 Apr 2008 16:26:09 +0000 (16:26 +0000)]
Document new logging and m_chanlog

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9328 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove calls to deprecated InspIRCd::Log(), thanks danieldg for reporting.
peavey [Fri, 4 Apr 2008 16:19:59 +0000 (16:19 +0000)]
Remove calls to deprecated InspIRCd::Log(), thanks danieldg for reporting.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9327 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoZap printfs
brain [Fri, 4 Apr 2008 16:14:33 +0000 (16:14 +0000)]
Zap printfs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9326 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix lost messages, thanks w00t and peavey
brain [Fri, 4 Apr 2008 16:05:46 +0000 (16:05 +0000)]
Fix lost messages, thanks w00t and peavey

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9325 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agofix warnings
w00t [Fri, 4 Apr 2008 16:04:38 +0000 (16:04 +0000)]
fix warnings

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9324 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAttempt to avoid infinite loops
w00t [Fri, 4 Apr 2008 15:48:37 +0000 (15:48 +0000)]
Attempt to avoid infinite loops

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9323 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix this (thx danieldg and owine)
w00t [Fri, 4 Apr 2008 15:45:14 +0000 (15:45 +0000)]
Fix this (thx danieldg and owine)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9322 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix bad use of old event based api for spanningtree (this is mostly gone now)
brain [Fri, 4 Apr 2008 15:42:33 +0000 (15:42 +0000)]
Fix bad use of old event based api for spanningtree (this is mostly gone now)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9321 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove deprecated InspIRCd::Log() method so people don't use it etc
w00t [Fri, 4 Apr 2008 15:40:33 +0000 (15:40 +0000)]
Remove deprecated InspIRCd::Log() method so people don't use it etc

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9320 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops, thanks w00t
brain [Fri, 4 Apr 2008 15:27:06 +0000 (15:27 +0000)]
Whoops, thanks w00t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9319 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.
brain [Fri, 4 Apr 2008 15:17:33 +0000 (15:17 +0000)]
Whoops, wrong pointer. write out 500 lines 'i will check my code twice', brain.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9318 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake it buildable
brain [Fri, 4 Apr 2008 15:11:36 +0000 (15:11 +0000)]
Make it buildable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops, this would be bad if not fixed :p
brain [Fri, 4 Apr 2008 15:10:10 +0000 (15:10 +0000)]
Whoops, this would be bad if not fixed :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9316 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix chanlog (NOTE: previous commit will require a FULL recompile)
w00t [Fri, 4 Apr 2008 15:09:46 +0000 (15:09 +0000)]
Fix chanlog (NOTE: previous commit will require a FULL recompile)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9315 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemote server PRIVMSG/NOTICE to nickname support
brain [Fri, 4 Apr 2008 15:06:32 +0000 (15:06 +0000)]
Remote server PRIVMSG/NOTICE to nickname support

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9314 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove two useless methods, chanlog is b0rked at the moment.
w00t [Fri, 4 Apr 2008 15:06:24 +0000 (15:06 +0000)]
Remove two useless methods, chanlog is b0rked at the moment.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9313 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSupport for remote NOTICE/PRIVMSG with server origin and user target
brain [Fri, 4 Apr 2008 15:00:43 +0000 (15:00 +0000)]
Support for remote NOTICE/PRIVMSG with server origin and user target

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9312 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd safety check for nonexistent server in receiving server origin privmsg (shouldnt...
brain [Fri, 4 Apr 2008 14:48:34 +0000 (14:48 +0000)]
Add safety check for nonexistent server in receiving server origin privmsg (shouldnt happen as we vet the uid higher up the chain, but check anyway!) Also add trigger for OnText to remove privmsg/notice

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9311 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoModify chanlog to send message remotely, too. Logging now works server <-> server...
w00t [Fri, 4 Apr 2008 14:45:25 +0000 (14:45 +0000)]
Modify chanlog to send message remotely, too. Logging now works server <-> server, so a whole network can log stuff to a single channel.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9310 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoExtra safety required by recent changes
brain [Fri, 4 Apr 2008 14:44:02 +0000 (14:44 +0000)]
Extra safety required by recent changes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9309 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd protocol api functions: PI->WriteChannelPrivmsg() and PI->WriteChannelNotice...
brain [Fri, 4 Apr 2008 14:37:23 +0000 (14:37 +0000)]
Add protocol api functions: PI->WriteChannelPrivmsg() and PI->WriteChannelNotice() - sends with SID origin over network

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9308 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoServer origin PRIVMSG and NOTICE now supported by protocol. Will add interface after...
brain [Fri, 4 Apr 2008 14:05:07 +0000 (14:05 +0000)]
Server origin PRIVMSG and NOTICE now supported by protocol. Will add interface after i've shredded a load of paper >:)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9307 e03df62e-2008-0410-955e-edbf42e46eb7