]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

16 years agoServer origin privmsg, UNTESTED - will test in a min
brain [Fri, 4 Apr 2008 13:59:29 +0000 (13:59 +0000)]
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

16 years agoChange the function name because gcc is dumb :/
brain [Fri, 4 Apr 2008 13:29:15 +0000 (13:29 +0000)]
Change the function name because gcc is dumb :/

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

16 years agoWhoops, fix typo
brain [Fri, 4 Apr 2008 13:24:54 +0000 (13:24 +0000)]
Whoops, fix typo

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

16 years agoA convenience function for ProtocolInterface::SendMode that just takes a string,...
brain [Fri, 4 Apr 2008 13:21:12 +0000 (13:21 +0000)]
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

16 years agoNow rip out the old handler, and replace with an error log line
brain [Fri, 4 Apr 2008 13:15:31 +0000 (13:15 +0000)]
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

16 years agoMake all our modules use the new stuff rather than the send_ events
brain [Fri, 4 Apr 2008 13:12:10 +0000 (13:12 +0000)]
Make all our modules use the new stuff rather than the send_ events

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

16 years agoMatch on nick change option for RLine, document m_rline & this option.
w00t [Fri, 4 Apr 2008 12:55:51 +0000 (12:55 +0000)]
Match on nick change option for RLine, document m_rline & this option.

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

16 years agoThe rest of the server protocol interface and fix a warning in m_rline
brain [Fri, 4 Apr 2008 12:49:42 +0000 (12:49 +0000)]
The rest of the server protocol interface and fix a warning in m_rline

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

16 years agoCheck for match and apply R:Lines on connect
w00t [Fri, 4 Apr 2008 12:36:26 +0000 (12:36 +0000)]
Check for match and apply R:Lines on connect

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

16 years agoAdd basic stuff for protocol interface and implement a couple of the methods. It...
brain [Fri, 4 Apr 2008 12:30:38 +0000 (12:30 +0000)]
Add basic stuff for protocol interface and implement a couple of the methods. It's all in ServerInstance->PI for calls from other modules/the core

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

16 years agoUpdate sln
brain [Fri, 4 Apr 2008 08:13:47 +0000 (08:13 +0000)]
Update sln

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

16 years agoWhoops, allow numeric 353 (names list) to be overridden by OnNumeric if we want to
brain [Thu, 3 Apr 2008 22:50:36 +0000 (22:50 +0000)]
Whoops, allow numeric 353 (names list) to be overridden by OnNumeric if we want to

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

16 years agoChange the 'is not within the modules dir' message to something less obscure that...
brain [Thu, 3 Apr 2008 20:16:58 +0000 (20:16 +0000)]
Change the 'is not within the modules dir' message to something less obscure that explains the problem: "Module <file> is not in the module directory that i am configured to look in (is <path> really a symlink?)"

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

16 years agoPatch to fix this module from flagging all client sockets as xml
brain [Thu, 3 Apr 2008 16:14:34 +0000 (16:14 +0000)]
Patch to fix this module from flagging all client sockets as xml

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

16 years agoFix socketengine select to work with arsey compilers that think we're using ISO C++
brain [Thu, 3 Apr 2008 16:03:10 +0000 (16:03 +0000)]
Fix socketengine select to work with arsey compilers that think we're using ISO C++

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

16 years agoFix a (long standing) tiny bug: wallops do not go out to all +w users, only opered...
w00t [Thu, 3 Apr 2008 15:22:42 +0000 (15:22 +0000)]
Fix a (long standing) tiny bug: wallops do not go out to all +w users, only opered users. This needs applying to 1.1 too, will be done shortly.

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

16 years agoremove references to maxclient we forgot here, thx Zaba for reporting.
peavey [Thu, 3 Apr 2008 15:13:43 +0000 (15:13 +0000)]
remove references to maxclient we forgot here, thx Zaba for reporting.

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

16 years agoFixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. Module...
brain [Wed, 2 Apr 2008 23:53:29 +0000 (23:53 +0000)]
Fixes for bug #493, tidyups to clearing of channel modes on losing FJOIN. Module unloads may also be tidied at a future date but it means reordering some loops in mode.cpp. See around the comment added.

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

16 years agoFix brain's compile error :p
w00t [Wed, 2 Apr 2008 22:57:52 +0000 (22:57 +0000)]
Fix brain's compile error :p

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

16 years agoFix for bug #456 so we can be rid of it
brain [Wed, 2 Apr 2008 22:53:33 +0000 (22:53 +0000)]
Fix for bug #456 so we can be rid of it

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

16 years agoThis is better than using a const; Since 1.1 we don't need a value at all, we can...
brain [Wed, 2 Apr 2008 22:37:17 +0000 (22:37 +0000)]
This is better than using a const; Since 1.1 we don't need a value at all, we can Extend with nothing as a bool marker

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

16 years agoRemove unload_kludge: this still isn't handled in a very polite way (it uses FakeClie...
w00t [Wed, 2 Apr 2008 22:30:39 +0000 (22:30 +0000)]
Remove unload_kludge: this still isn't handled in a very polite way (it uses FakeClient to force removal) but it is tidier than it was. We can only do this now FakeClient is global rather than constantly reinstantiated.

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

16 years agoJust use string literal instead of declaring a var for it
w00t [Wed, 2 Apr 2008 22:17:40 +0000 (22:17 +0000)]
Just use string literal instead of declaring a var for it

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

16 years agoFix peavey and w00ts bug they found by removing the nonblocking part of the logger...
brain [Wed, 2 Apr 2008 19:52:33 +0000 (19:52 +0000)]
Fix peavey and w00ts bug they found by removing the nonblocking part of the logger. This stuff was hackish and isnt required. If your hard disk locks up, then you have bigger worries.

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

16 years agoDepreciated ServerInstance->Log() seems to crash configreader on rehash? We should...
brain [Wed, 2 Apr 2008 19:17:34 +0000 (19:17 +0000)]
Depreciated ServerInstance->Log() seems to crash configreader on rehash? We should remove the depreciated calls anyway, so im not too concerned as to why they crash - probably not threadsafe.

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

16 years agoMove this message so it actually displays when we're running non-debug: "InspIRCd...
brain [Wed, 2 Apr 2008 18:50:13 +0000 (18:50 +0000)]
Move this message so it actually displays when we're running non-debug: "InspIRCd is now running as 'test.chatspike.net'[037] with 5576 max open sockets"

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

16 years agoDOH! Fix my muppetry of a segfault, and fix some warnings
brain [Wed, 2 Apr 2008 18:45:54 +0000 (18:45 +0000)]
DOH! Fix my muppetry of a segfault, and fix some warnings

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

16 years agoFix yet another warning.
brain [Wed, 2 Apr 2008 18:16:14 +0000 (18:16 +0000)]
Fix yet another warning.

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

16 years agoFix another warning
brain [Wed, 2 Apr 2008 18:11:44 +0000 (18:11 +0000)]
Fix another warning

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

16 years agomake sure we include the right headers and fix a warning in cmode_b
brain [Wed, 2 Apr 2008 18:05:25 +0000 (18:05 +0000)]
make sure we include the right headers and fix a warning in cmode_b

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

16 years agoProper sysctl stuff to work with bsd. It seems that the uname value 4 is linux specif...
brain [Wed, 2 Apr 2008 17:55:29 +0000 (17:55 +0000)]
Proper sysctl stuff to work with bsd. It seems that the uname value 4 is linux specific and they dont even have a const for it there!

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

16 years agoFix stats, this has never actually displayed the per-class max in stats I, now it...
brain [Wed, 2 Apr 2008 17:40:36 +0000 (17:40 +0000)]
Fix stats, this has never actually displayed the per-class max in stats I, now it does

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

16 years agoSquish a warning
brain [Wed, 2 Apr 2008 17:34:27 +0000 (17:34 +0000)]
Squish a warning

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

16 years agoRemove MAXCLIENTS, this is supported at runtime by the softlimit anyway.
brain [Wed, 2 Apr 2008 17:32:45 +0000 (17:32 +0000)]
Remove MAXCLIENTS, this is supported at runtime by the softlimit anyway.

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

16 years agoRemove all compile-time max client and max fd's configuration. This is no longer...
brain [Wed, 2 Apr 2008 17:27:40 +0000 (17:27 +0000)]
Remove all compile-time max client and max fd's configuration. This is no longer required by InspIRCd as it is fully supported by auto detection and connect allow lines

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

16 years agoAutomatic detection and allocation of max fds. No longer needs recompile to change...
brain [Wed, 2 Apr 2008 17:08:09 +0000 (17:08 +0000)]
Automatic detection and allocation of max fds. No longer needs recompile to change, just adjust it in your kernel or whatever and restart insp.
Please note that select and iocp socket engines do not support detection and are always set to FD_SETSIZE and 10240 descriptors respectively.

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

16 years agoFix all this crap - it actually works now (we pray..)
w00t [Wed, 2 Apr 2008 12:33:01 +0000 (12:33 +0000)]
Fix all this crap - it actually works now (we pray..)

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

16 years agoBetter generation. This is still fucked up, but less spectacularly and in a much...
w00t [Wed, 2 Apr 2008 11:48:54 +0000 (11:48 +0000)]
Better generation. This is still fucked up, but less spectacularly and in a much less obvious way.

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

16 years agoFuck. STOP committing first thing after waking up.
w00t [Wed, 2 Apr 2008 09:04:02 +0000 (09:04 +0000)]
Fuck. STOP committing first thing after waking up.

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

16 years agoAs part of this... don't give fake client a valid UID, as it's not needed anyway.
w00t [Wed, 2 Apr 2008 09:00:57 +0000 (09:00 +0000)]
As part of this... don't give fake client a valid UID, as it's not needed anyway.

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

16 years agoBah
w00t [Wed, 2 Apr 2008 08:55:28 +0000 (08:55 +0000)]
Bah

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

16 years agoUnneeded
w00t [Wed, 2 Apr 2008 08:54:43 +0000 (08:54 +0000)]
Unneeded

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

16 years agoOnly setup fakeclient once.
w00t [Tue, 1 Apr 2008 23:39:44 +0000 (23:39 +0000)]
Only setup fakeclient once.

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

16 years agoInitialise a variable correctly to avoid valgrind warning
w00t [Tue, 1 Apr 2008 23:24:22 +0000 (23:24 +0000)]
Initialise a variable correctly to avoid valgrind warning

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

16 years agoDon't fuck up the map by inserting 0
w00t [Tue, 1 Apr 2008 20:32:28 +0000 (20:32 +0000)]
Don't fuck up the map by inserting 0

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

16 years agoSame as 9249
w00t [Tue, 1 Apr 2008 19:54:08 +0000 (19:54 +0000)]
Same as 9249

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

16 years agoRemove call to FlushWriteBuffer from BufferedSocket::Write(), this means we don't...
w00t [Tue, 1 Apr 2008 18:56:31 +0000 (18:56 +0000)]
Remove call to FlushWriteBuffer from BufferedSocket::Write(), this means we don't try write() pointlessly when we may very well not (chewing CPU), and instead waits for the socketengine to tell us we can write. Tested, works fine. (nothing used this return value anyway)

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

16 years agoRemove deprecated BufferedSocket::MarkAsClosed()
w00t [Tue, 1 Apr 2008 18:34:34 +0000 (18:34 +0000)]
Remove deprecated BufferedSocket::MarkAsClosed()

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

16 years agoSome metadata commands were using nicknames to identify the nick to apply the metadat...
brain [Tue, 1 Apr 2008 18:14:36 +0000 (18:14 +0000)]
Some metadata commands were using nicknames to identify the nick to apply the metadata to. fix to use uuid. Also make sure that the ssl metadata is sent after the user is done connecting (prioritize that event after spanningtree's)

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

16 years agoSpecial check in here now that forbids all use of MODE in s2s for changing channel...
brain [Tue, 1 Apr 2008 16:48:52 +0000 (16:48 +0000)]
Special check in here now that forbids all use of MODE in s2s for changing channel modes, closing a loophole that services devs keep using to bypass implenting proper TS, and breaking our protocol.

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

16 years agoRemove this, it won't work (reliably), use ModeParser::ModeString() instead, ta B
w00t [Tue, 1 Apr 2008 16:30:49 +0000 (16:30 +0000)]
Remove this, it won't work (reliably), use ModeParser::ModeString() instead, ta B

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

16 years agoAdd an optional bool to ModeParser::ModeString() to not give the nickname n times...
brain [Tue, 1 Apr 2008 16:25:02 +0000 (16:25 +0000)]
Add an optional bool to ModeParser::ModeString() to not give the nickname n times on the end of the string. This can be used for w00ts funky stuff. :-)

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

16 years agoConfigurable prefixes for chanmodes +qa: prefixes can be turned on or off individuall...
w00t [Tue, 1 Apr 2008 13:53:27 +0000 (13:53 +0000)]
Configurable prefixes for chanmodes +qa: prefixes can be turned on or off individually and seperately, per server as well as per mode, and prefixes are no longer limited to ~&. *** SERVICES AUTHORS *** This involves a protocol change. FJOIN now sends the userlist with format modes,nick instead of prefixes,nick.

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

16 years agoAdd a required prefix of 0, this may fix problem encountered by Raff7.. (purely cosme...
w00t [Tue, 1 Apr 2008 11:13:36 +0000 (11:13 +0000)]
Add a required prefix of 0, this may fix problem encountered by Raff7.. (purely cosmetic, though, as the internal code for +qa had checks on who could set it aside from prefix-only.. brain, can you review this and tell me if this is correct pls?

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

16 years agofix a few warnings by casting since thats the only way to be sure non native C types...
peavey [Mon, 31 Mar 2008 13:09:29 +0000 (13:09 +0000)]
fix a few warnings by casting since thats the only way to be sure non native C types matches their format tokens.

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

16 years agoPatch by brain; Fix crash when no parameters are given when introducing a remote...
special [Mon, 31 Mar 2008 08:54:10 +0000 (08:54 +0000)]
Patch by brain; Fix crash when no parameters are given when introducing a remote client and add encap to the windows project

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

16 years agoFix two format warnings, dont you DARE tell me size_t varies in size too.
brain [Mon, 31 Mar 2008 00:47:13 +0000 (00:47 +0000)]
Fix two format warnings, dont you DARE tell me size_t varies in size too.

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

16 years agoRemove extended silence doc
w00t [Sun, 30 Mar 2008 23:51:19 +0000 (23:51 +0000)]
Remove extended silence doc

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

16 years agoFix this name
w00t [Sun, 30 Mar 2008 23:50:42 +0000 (23:50 +0000)]
Fix this name

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

16 years agoAdd SVSSILENCE: allows services to modify SILENCE lists of users. todo note in there...
w00t [Sun, 30 Mar 2008 23:13:47 +0000 (23:13 +0000)]
Add SVSSILENCE: allows services to modify SILENCE lists of users. todo note in there, don't know if anyone wants to comment..

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

16 years agoMove _ext to replace the original, SVSSILENCE comes next
w00t [Sun, 30 Mar 2008 23:04:00 +0000 (23:04 +0000)]
Move _ext to replace the original, SVSSILENCE comes next

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

16 years agoRemove m_silence: this is 1.2 only. m_silence_ext is a fully backwards compatible...
w00t [Sun, 30 Mar 2008 23:03:24 +0000 (23:03 +0000)]
Remove m_silence: this is 1.2 only. m_silence_ext is a fully backwards compatible copy of silence, with some additional features that have no impact on usage etc, so it makes no real sense to bloat out the compile like this

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

16 years agoMake sure CAPAB always comes before SERVER on either side of the link at all times
brain [Sun, 30 Mar 2008 22:42:42 +0000 (22:42 +0000)]
Make sure CAPAB always comes before SERVER on either side of the link at all times

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

16 years agoAWAY notification for WATCH. Numerics are now sent out when a user goes away (or...
w00t [Sun, 30 Mar 2008 15:33:33 +0000 (15:33 +0000)]
AWAY notification for WATCH. Numerics are now sent out when a user goes away (or returns from AWAY), as well as in WATCH L (if the user is online and away).

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

16 years agoMore docs on data structures
w00t [Sun, 30 Mar 2008 14:47:29 +0000 (14:47 +0000)]
More docs on data structures

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

16 years agoFixy
brain [Sun, 30 Mar 2008 14:39:14 +0000 (14:39 +0000)]
Fixy

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

16 years agoChange this return type to int from void. WHY didn't this error for me.
w00t [Sun, 30 Mar 2008 14:32:44 +0000 (14:32 +0000)]
Change this return type to int from void. WHY didn't this error for me.

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

16 years agoMerge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when cancelli...
w00t [Sun, 30 Mar 2008 14:26:01 +0000 (14:26 +0000)]
Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when cancelling), and change return type to int so modules can block away messages by returning nonzero.

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

16 years agoWhack format warning, do these differ between gcc versions or something?!
brain [Sun, 30 Mar 2008 14:23:17 +0000 (14:23 +0000)]
Whack format warning, do these differ between gcc versions or something?!

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

16 years agodocument override in operjoin.
peavey [Sun, 30 Mar 2008 10:51:39 +0000 (10:51 +0000)]
document override in operjoin.

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

16 years agoAdd override option to operjoin, handy if your operchan has a key or is invite only.
peavey [Sun, 30 Mar 2008 10:48:26 +0000 (10:48 +0000)]
Add override option to operjoin, handy if your operchan has a key or is invite only.

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

16 years agowhack a couple of format warnings now showing with r9217
peavey [Sun, 30 Mar 2008 10:19:10 +0000 (10:19 +0000)]
whack a couple of format warnings now showing with r9217

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

16 years agoCommit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd...
aquanight [Sun, 30 Mar 2008 02:48:54 +0000 (02:48 +0000)]
Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspircd now get treated like printf (meaning compile-time check goodness) in GCC

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

16 years agoThe bug we fixed for bug #506 may still occur in trunk if a module adjusts the nick...
brain [Sun, 30 Mar 2008 02:39:38 +0000 (02:39 +0000)]
The bug we fixed for bug #506 may still occur in trunk if a module adjusts the nick and prefix output in the same way via OnNamesListItem, so we really should apply a similar fix here too

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

16 years agoTest commit. .coders now has CIA (instant notification) and the other channels that...
brain [Sat, 29 Mar 2008 20:26:35 +0000 (20:26 +0000)]
Test commit. .coders now has CIA (instant notification) and the other channels that need to be informed when its available on the public svn get PostBot.

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

16 years agoUnknown as to if the old code works
brain [Sat, 29 Mar 2008 20:16:09 +0000 (20:16 +0000)]
Unknown as to if the old code works

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

16 years agoDocument
brain [Sat, 29 Mar 2008 18:33:08 +0000 (18:33 +0000)]
Document

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

16 years agoAdd support for <sqloper:hash> value, references 'md5', 'sha256' and finds the requir...
brain [Sat, 29 Mar 2008 18:31:50 +0000 (18:31 +0000)]
Add support for <sqloper:hash> value, references 'md5', 'sha256' and finds the required provider

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

16 years agoUse the right pass
brain [Sat, 29 Mar 2008 18:16:02 +0000 (18:16 +0000)]
Use the right pass

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

16 years agoAllow freeform queries. Allow $nick, $host, $ip, $pass, $md5pass and $sha256pass...
brain [Sat, 29 Mar 2008 18:10:31 +0000 (18:10 +0000)]
Allow freeform queries. Allow $nick, $host, $ip, $pass, $md5pass and $sha256pass in the query. Ability of md5pass and sha256pass variables is dependent upon presence of m_sha256.so or m_md5.so.

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