7808 Commits

Author SHA1 Message Date
brain
22de0fb8fb Make sure this is pushed too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9352 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 14:36:29 +00:00
brain
3f54de3e8b 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
2008-04-05 14:35:41 +00:00
w00t
9d558aa743 Use 1.2, not VERSION constant for here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9350 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 13:48:40 +00:00
w00t
c8568730b5 Update ModDesc and class name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9349 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-05 11:50:56 +00:00
w00t
0a16281326 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
2008-04-05 11:31:18 +00:00
brain
a87b8e1e76 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
2008-04-05 02:39:26 +00:00
brain
589ef7e89e 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
2008-04-05 01:05:32 +00:00
w00t
18d36bfaf8 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
2008-04-04 23:02:50 +00:00
w00t
03b33d53b2 Off by one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9344 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 23:00:13 +00:00
w00t
e6cde3ad77 Only examine local messages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9343 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 22:58:06 +00:00
brain
5f5356268c DOH
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9342 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 22:45:31 +00:00
brain
b263bd7202 Extra stuff for 005 numeric
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9341 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 22:42:11 +00:00
w00t
2029b53b52 m_quietban: implements snomask +b q:
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9340 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 22:26:47 +00:00
w00t
83d884b8e9 Remove debug printf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9339 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 22:24:51 +00:00
brain
3ab28db535 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
2008-04-04 22:13:06 +00:00
w00t
f00094febf 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
2008-04-04 21:43:21 +00:00
w00t
ccea6c12cd See this brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9336 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 20:47:45 +00:00
brain
6fb9db23fb 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
2008-04-04 19:55:36 +00:00
w00t
056682a6e1 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
2008-04-04 19:36:39 +00:00
brain
1acc89351c Dont check APrefix both times :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9332 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 19:13:22 +00:00
brain
d3d06093dd Better checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9331 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 19:12:03 +00:00
brain
28dea7fd09 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
2008-04-04 19:07:56 +00:00
brain
369aef56c6 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
2008-04-04 18:50:09 +00:00
w00t
fc8fb6b916 Document new logging and m_chanlog
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9328 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 16:26:09 +00:00
peavey
2b8773a6ba 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
2008-04-04 16:19:59 +00:00
brain
51af6cbf2f Zap printfs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9326 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 16:14:33 +00:00
brain
06335d5a19 Fix lost messages, thanks w00t and peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9325 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 16:05:46 +00:00
w00t
b1aa962634 fix warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9324 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 16:04:38 +00:00
w00t
cf2a8bd385 Attempt to avoid infinite loops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9323 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 15:48:37 +00:00
w00t
d0617b1060 Fix this (thx danieldg and owine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9322 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 15:45:14 +00:00
brain
67349a9d62 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
2008-04-04 15:42:33 +00:00
w00t
eb2e28b0cf 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
2008-04-04 15:40:33 +00:00
brain
f02df696d5 Whoops, thanks w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9319 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 15:27:06 +00:00
brain
ad6052e734 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
2008-04-04 15:17:33 +00:00
brain
9f69a7c9e7 Make it buildable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 15:11:36 +00:00
brain
d8f50c5a51 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
2008-04-04 15:10:10 +00:00
w00t
bb1140e2da 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
2008-04-04 15:09:46 +00:00
brain
89fc6ca9c6 Remote server PRIVMSG/NOTICE to nickname support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9314 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 15:06:32 +00:00
w00t
ce4dc653ce 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
2008-04-04 15:06:24 +00:00
brain
3cb3bb6f9a 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
2008-04-04 15:00:43 +00:00
brain
87dbe508d5 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
2008-04-04 14:48:34 +00:00
w00t
05cc48f189 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
2008-04-04 14:45:25 +00:00
brain
8fc3c90385 Extra safety required by recent changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9309 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 14:44:02 +00:00
brain
001861f5d2 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
2008-04-04 14:37:23 +00:00
brain
463979eb86 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
2008-04-04 14:05:07 +00:00
brain
f7a28a7800 Server origin privmsg, UNTESTED - will test in a min
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9306 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 13:59:29 +00:00
brain
3f971b447f Change the function name because gcc is dumb :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9305 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 13:29:15 +00:00
brain
d7c6f213ec Whoops, fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9304 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 13:24:54 +00:00
brain
d3d32dcf6d A convenience function for ProtocolInterface::SendMode that just takes a string, then splits it internally to deque for sending to the other function of the same name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9303 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 13:21:12 +00:00
brain
0d9e5bd011 Now rip out the old handler, and replace with an error log line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9302 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04 13:15:31 +00:00